at first thanx for your reply. However, when i try to access strP my
programm crashes telling me it read memory from the memory manager data
structures. Any idea what i did wrong? i locked the handle to write it,
unlocked it, locked it again by

strP = (Char *)MemHandleLock(h);

accessed strP and it crashed.

"Gearoid Murphy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Char *strP;
>
> strP = (Char *)MemHandleLock(h); // h is a MemHandle
>
>
> if (strP)
> {
> // Do stuff with strP
> }
>
> // Make sure to unlock MemHandle
> MemHandleUnlock(h);




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

Reply via email to