Each released Palm app is required to have a unique creator ID.  You can
apply for one at http://oasis.palm.com/devzone/creatorid/ .  The database id
is usually created by appending the creator ID to the database name, thus
allowing one app to have more than one database.  (For example, if my app's
creator ID is 'joeB', it might have databases "dbOne-joeB" and
"dbTwo-joeB".)  Once you have a creator ID, you specify it on the PalmRez
Post Linker settings page in CodeWarrior.  (I don't know where you specify
it if you are using gcc or other tools.)

----- Original Message -----
From: "Marty Rice" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, January 28, 2000 1:47 PM
Subject: Re: Question about application preferences


> 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
>
>


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

Reply via email to