RE: How to retrieve owner name from Preferences?

2001-07-06 Thread Richard Burmeister
> From: Shaikh Khurram Saghir > > DlkGetSyncInfo see DLServer.h > To clarify: DlkGetSyncInfo can be used to retrieve the HotSync user name, not the owner name. There is a KB article that describes how to do this. I believe Alvin Koh had the right idea for retrieving the owner name (though I ha

Re: How to retrieve owner name from Preferences?

2001-07-05 Thread The Armadillo With The Mask
Vini Bhatnagar wrote: > Hi All, > > I need to retrieve owner name from Palm preferences for use in my > application. > To use any of the fuctions for Preferences SystemPreferencesChoice structure > is used. > but this does not have any reference to owner name. > Please Help.. Hi Vini, I use

Re: How to retrieve owner name from Preferences?

2001-07-05 Thread Shaikh Khurram Saghir
DlkGetSyncInfo see DLServer.h Khurram+ - Original Message - From: Vini Bhatnagar <[EMAIL PROTECTED]> To: Palm Developer Forum <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 11:10 AM Subject: How to retrieve owner name from Preferences? > Hi All, > > I need to ret

Re: How to retrieve owner name from Preferences?

2001-07-05 Thread Alvin Koh
This works for me. Char palmUserName[USERNAME_LEN+1]; DmOpenRef gDB; Int16 resIndex; MemHandle resH; MemPtr resPtr; UInt32 resSize; Char *buffer; Int16 i; gDB = DmOpenDatabaseByTypeCreator('pref', 'psys', dmModeReadOnly); if (gDB) { resIndex = DmF

How to retrieve owner name from Preferences?

2001-07-05 Thread Vini Bhatnagar
Hi All, I need to retrieve owner name from Palm preferences for use in my application. To use any of the fuctions for Preferences SystemPreferencesChoice structure is used. but this does not have any reference to owner name. Please Help.. Thanks Vini -- For information on using the Palm Deve