The following code fails with a fatal exception: "MemoryMgr.c, Line 4384, Free handle"
DmOpenRef hDb;
UInt16 dbId = DmFindDatabase(0, "CodesGeneric");
if (dbId != 0)
hDb = DmOpenDatabase(0, dbId, dmModeReadOnly);
The database CodesGeneric does indeed exist and the dbId is not zero.
This is seeming straight forward, but doesn't seem to work. Any ideas?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
