"Jason Simpkins" <[EMAIL PROTECTED]> wrote:

> I've been able to duplicate the problem by starting and stopping the
> application about 10 tens.
> This seems to be the magic number.   If the Palm device is Reset, then the
> problem goes away.
> I am really stomped here, am I fighting a CWR5 bug?  Somebody has to have
> some idea whats going on.

Do you mean 10 times, or 10 tens of times (i.e. 100)? Would it perhaps 
be 15 times instead of 10?

When I've had that problem, it has been due to using MemHandleLock 
without a subsequent MemHandleUnlock. A memory handle has a 4-bit lock 
counter; this allows for nested lock/unlock calls on the same handle. 
If you lock a handle 15 more times than you unlock it, you overflow the 
counter and that chuck over locked error occurs.

--
Roger Chaplin
<[EMAIL PROTECTED]>

-- 
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