Duh.  I should've known.  Sorry for the stupid question.  Actually, it
turned out that the Creator ID passed to PrefSetAppPreferences was different
than the one for the app, at least for my other apps.  It was the same ID
for this particular app.  I guess by (mistakenly) making the two values
different with my other apps, I made it so the Prefs were not deleted with
the app.

Thanks for the help,

Mike


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Richard
Burmeister
Sent: Saturday, February 17, 2001 10:24 PM
To: Palm Developer Forum
Subject: RE: Strange Prefs problem


> From: Mike Walters
>
> I recently did a major upgrade on one of my apps, and now I notice that
> deleting the application also deletes the Prefs.  If I change the AppType
> (Creator ID) that I pass to the two functions above, all works well.
> Deleting the app leaves the Prefs information.  But for some
> reason if I use
> the previous value of the AppType, the Prefs go away when the app is
> deleted.
>

That's the way it has always worked for me.  If the creatorID passed into
PrefSetAppPreferences is the same as the creatorID of your app, when the app
is deleted, the prefs db is deleted.  It works the same way for any other
DBs you create with the same creatorID.


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


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

Reply via email to