I am investigating the feasibility of setting a Palm's Hotsync user name for a very specific utility I'm developing. This will happen only on devices which have NOT YET been through their First Sync -- in other words, freshly hard-reset.

The implication here is that the handheld does not yet have a last sync PC ID record, nor does it have a user name set into the DlkUserInfo structure, which is stored, as I understand it, in the PreferenceDB's sysResTSysPref / sysResIDDlkUserInfo resource record.

Ideally, I want a temporary utility app running on the device to assign a HS username programmatically, without relying at all upon the desktop Hotsync Mgr APIs -- say, "Joe User". It seems like doing this is simply a matter of locking down the resource record noted above and writing to it.

I am unsure of the implications of this on the desktop, for the initial sync. Ideally, the first sync will go through the motions of a slow sync and establish a user directory according to the device's HS username.

I would love to hear any ideas or opinions on this topic. In grokking the archives, I found very little information on -setting- the HS username, but tons on getting it via the DlkGetSyncInfo() PalmOS API. Has anyone tried this? Is there a security reason that we are (no longer) able to set the HS username on the device?

Thanks very much for your time,
-Jeff Ishaq


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

Reply via email to