> > then again, it has been proven many times that the docs are faulty *g* > > I think that is indeed the case here. Because I tried to use > DmOpenDatabase (and similiar functions) and it crashed on me. > > Reproduce by using DmOpenDatabase(0, 1234, dmModeReadOnly) ;-(
that sucks. then the only alternative is to iterate through *every* database, get its dbID and card reference and if you dont find it then, its not there :( i would recommend that you store other information about the database for later retrieval. good ones are: - database name - database type at least with these, you can use DmFindDatabase or DmNextDatabaseBy... routines to locate the status of the databases efficiently. another idea is to use DmProtectDatabase() on open to prevent it being removed :) --- Aaron Ardiri PalmOS Certified Developer [EMAIL PROTECTED] http://www.mobilewizardry.com/members/aaron_ardiri.php -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
