Danaé Castro Terán wrote:

Hello:
Please help me... I need the name of the handheld user in the user data store to synchronize with.

Try this:

{
   char        *nameP=NULL;

   nameP = MemPtrNew(dlkUserNameBufSize);
   if (nameP){
       DlkGetSyncInfo(NULL, NULL, NULL, nameP, NULL, NULL);
       //nameP now contains the user name
       //so do something with it.

      //now clean up
       MemPtrFree(nameP);
   }
}

Bob

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to