Thanks everyone for your help.
In case this helps someone else, in my case what caused the Chunk UnderLock was that I 
was accessing a database that the Codewarrior
database was also accessing.  Though some unimaginably complex interaction, things got 
messed up.  I solved the error simply by
making sure I didn't access a database that was currently being accessed by 
CodeWarrior.  :)


Kevin O'Keefe wrote:

> A chunk underlocked error usually indicates that you are calling
> MemHandleUnlock more times than you've called MemHandleLock for a particular
> chunk.  Usually this occurs because you've carefully Unlocked the chunk in a
> block of code and then somewhere else (cleanup portion of the same function,
> or in the calling function) you try to unlock it again.


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

Reply via email to