On Thu, Apr 13, 2000 at 09:01:04PM -0700, Jeff Ishaq wrote:
>
> When you use PrefGetAppPreferences()/PrefSetAppPreferences(), try specifying
> a creatorID to Pref*AppPreferences that is different than the creatorID of
> your hack.
>
> Once you do this, if your hack is deleted and installed again, the
> preference data will still persist. I think the only way to get rid of the
> preference data is to do a hard reset, or manually to delete your apps'
> record out of the system preference database.
>
> This is the behavior I noticed on PalmOS 3.0 -- Pretty sneaky.
Worse than that - if you ever restore saved preferences like you would
normally do after a hard reset (especially a memory wipe), all the
orphaned preferences will come back. It is sort of like the registry
in windows.
You need to manually delete any orphaned preferences and then hotsync.
That is how shareware is still expired even if you delete it and
reinstall it after the expiration period. The prefs stay behind.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html