I don't know what you mean by the creator Id of my application... I use the
same code
you attached to get and set my app's preferences, and I use the same crid as
I use
for my application's database, but does the application itself have a crid?
I don't see
anywhere that it is set, am I missing a function that tells the OS what the
application's
Id is?

Thanks,
Marty

----- Original Message -----
From: John R. Violette <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Thursday, January 27, 2000 8:43 PM
Subject: Re: Question about application preferences


> Try the Preference Editor by Bodo Bellut to view/edit entries in saved and
> unsaved preferences DB. They do get deleted when you delete the app as
long
> as the creator id of the pref database matches the creator id of your
> application. I use the following code to see if a pref exists for my app,
> where appFileCreator is a #define for my creator ID and AppPrefID is a
> #define for the version of prefs. The version is not used yet.
> 'noPreferencefound ' is defined by the Palm API as the return code for no
> preferences existing for the requested creator ID.
>
>
>
> Marty Rice <[EMAIL PROTECTED]> wrote in message
news:504@palm-dev-forum...
> >
> > When are application preferences "deleted"?  I assumed that
> > if you delete the app from the device, the application preferences
> > are also deleted.  But after re-installing my application and then
> > calling PrefGetAppPreferences, they seem to be still there.  I
> > have tried this using POSE as well as an actual device (thinking
> > the HotSync would delete them).  Somebody please enlighten
> > me.
> >
> > TIA,
> > Marty
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to