At 09:47 PM 6/14/2004, you wrote:
one thing i know....the different between MemPtrNew
and MemGluePtrNew is the size it can allocate.
MemPtrNew can only claim 1 to a bit less than 64K
while MemGluePTrNew can go beyond it. both also use
MemPtrFree to deallocate/free memory they claimed.

MemGluePtrNew only comes from the latest OS version
(PalmOS 4x above - i guess)

MemGluePtrNew works on Palm OS 3.5 and later. When this glue routine is used on older OS versions, it has the same allocation limit as MemPtrNew... this usually isn't a problem, as older OS versions usually didn't have dynamic heaps that were larger than 64K anyway.



-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/



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

Reply via email to