I want to be able to keep a list of applications installed on a device, and use that information to detect deleted applications. If I could store only the cardNo and dbID (LocalID) of each app, it would save space in the list compared to storing the database name. It would also save execution time, since I could avoid doing a DmFindDatabase prior to doing a DmOpenDatabase.
Unfortunately, as far as I can tell, all of the Data Manager routines taking a dbID as input generate fatal exceptions if the dbID they are given is no longer valid. I have tried using the Memory Manager functions for converting LocalID's to pointers for this, but they always return a NULL value when given even a valid dbID. Is there a way to determine if the database corresponding to a LocalID still exists (without DmFindDatabase)? Thanks, Mark Peters -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
