At 02:08 PM 5/14/2004, you wrote:
When my application quits I receive the "Record left locked in closed unprotected database" message. I understand what this message means but I can't find the database record I'm not releasing. Every DmNewRecord(...) and DmGetRecord(...) has an associated DmReleaseRecord(...). I'm pretty sure the index value isn't changed between these two calls. I'm also checking each MemHandleLock() for an associated MemHandleUnlock() but so far haven't found it.

Am I missing something here? Is there another mechanism that locks records that I'm not aware of? Is there any way to see which database has the locked record?

Are you using a multisegment app or using expanded mode with CodeWarrior? It's possible (but not likely) that the locked record is actually one of your code segments. Does this message appear only when debugging your application?



-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to