> From: Jeremy Y.
>
> How to clean up orphaned application preferences?
> When I created an app preference, I accidentally set the creator ID in
> 8 charactors. I installed it in my palm and I could never get rid of
> that application preferences even when I delete the app (My app has only
> 4 charactors creator ID). The code warrior only allow 4 byte creator ID,
> so I can never a creator ID that match that app preference's creator ID
> in order to remove the app preference.
>

Get one of the utility programs like Insider, PrefEd, etc., which allow you
to delete such things.

BTW, I'm pretty sure that the creator id is actually a 32 bit DWord.  Since
you don't say exactly what method/language/compiler you used to create the
app prefs db, I can't guess what the actual crid is for your old db.
However, you should be able to find it and delete it with PrefEd, etc.

Also, you could write a your own program, using
DmGetNextDatabaseByTypeCreator() to find it, and then DmDeleteDatabase() to
delete it.


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