You cannot resize a chunk created by MemPtrNew( ) call since it stays in one
place in memory. If you use MemHandleNew( ), you can resize it if it is
unlocked since it can move around memory. Corrections will be helpfull!
Ken Glover
Palm Programming Group
Eclipse Inc.
www.eclipseinc.com
> Hi,
>
> I am creating a structure using MemPtrNew. However, I noticed that with an
> extra variable and an extra step that I can use MemHandleNew and then
> MemHandleLock to get the pointer. What are the advantages of using one
> method over the other?
>
> Thanks,
>
> Mike McCollister