Yep, you have a MemHandleFree somewhere that is freeing a record in the database. You only get the exception when you try to access the database again. Check your code for calls to MemHandleFree - did you mean MemHandleUnlock?
Matt At 03:52 PM 7/3/2002 -0800, you wrote: > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > The following code fails with a fatal exception: > > "MemoryMgr.c, Line 4384, Free handle" > > hDb = DmOpenDatabase(0, dbId, dmModeReadOnly); > > The database CodesGeneric does indeed exist and the dbId is not zero. > >The database could have gotten corrupted during a previous access, if a >record got mistakenly freed without detaching it from the database. Try to >delete the db via DmDeleteDatabase and see if a similar error happens then. > >-slj- > > >-- >For information on using the Palm Developer Forums, or to unsubscribe, >please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
