Hi,
 
If you comment out that last unlock, and does not crash, that is your one too many unlocks, that is the only way an exception can occur...
 
In a message dated 9/1/2006 2:11:47 P.M. Pacific Daylight Time, [EMAIL PROTECTED] writes:
Hi Manish,

It's hard to think without a code to look at.
Could you post the parts of your code that call MemHandleLock and
MemHandleUnlock?

Thanks,

Ricardo


On 8/31/06, Manish <[EMAIL PROTECTED]> wrote:
> Hi Friends,
>
> In my application, I found a crash mentioning that
>
> "MemoryMgr.c, Line:4738, Chunk under-locked".
>
> I think this occurs when we call MemHandleUnlock more than MemHandlelock.
>
> I checked my code and found that there were no extra calls to
> MemHandleUnlock.(I am calling  MemHandlelock-MemHandleUnlock five times in my code)
>
> However, if I comment out the last MemHandleUnlock call the crash
> doesn't occur
>
> Kindly help me
>
> Regards
> Manish
>
>
>
> --
> For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
>

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

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

Reply via email to