> MemHandle strH = MemHandleNew (maxSrtIToALen);
> str = MemHandleLock (strH);
> // something with str;
> //No MemPtrUnlock (str);
> //instead
> MemHandeUnlock (strH);
> 
> Then do I still need to free memory by using
> MemHandleFree (strH); or it is only when I use MemPtrUnlock 
> (str);

you must free the handle. btw - it makes no difference to
do MemPtrUnlock() or MemHandleUnlock() - so, you can choose
withever you want. it is 'consistant' to use the MemHandle*
routines.

---
Aaron Ardiri                           [EMAIL PROTECTED]
CEO - CTO                                              +46 70 656 1143
Mobile Wizardry                         http://www.mobilewizardry.com/

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

Reply via email to