Hi, [James Lin] > > Doesn't DmOpenDatabase (and about all of the other DmMgr functions) usually > > generate a fatal alert when given an invalid cardNo and dbID?
[Aaron] > thats not what the docs say: > > Returns DmOpenRef to open database. May display a fatal error message if > the database parameter is NULL. On all other errors, this function > returns 0 and DmGetLastErr returns an error code indicating the > reason for failure. > > 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) ;-( -- Daniel Seifert <[EMAIL PROTECTED]> -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
