Hello XPerts,

I have problem with dynamic allocation memory in palm.
Please help.

1. How do i convert array of pointers from using 'New'
to 'MemGluePtrNew'/'MemPtrNew'?
2. How to dispose dynamic array claimed by
MemPtrNew/MemGluePtrNew? So far I used MemPtrFree but
somehow it returns 'Fatal Exception' while closing
applicaton?
3. MemHandle : Which should i use, MemPtrUnlock or
MemHandleUnlock to unlock Pointer from Handle? If i
lock chunk/handle with a pointer - Ptr =
MemHandleLock(xx), do I need to dispose the pointer
Ptr once i I have unlocked it? So far i only unlock
the pointer and free up the handle (MemHandleFree).
4. What is the maximum size of chunk allocated by
MemHandleNew? can it be exceed 64K such as
MemGluePtrNew?

thanks for any help, lighten and suggestion.

regards,

Peter


        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.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