Hi!
I need to dynamically allocate 900 KBytes memory. MemHeapFreeBytes() shows there are over 1300 KBytes usable memory. But the call for MemHandleNew(900*1024) always fails. Any kind persons can show me why and how to get around this??
MemGluePtrNew from the Palm OS Glue library in the 5.0 R2 or R3 SDKs is what you want. The standard memory allocation functions cannot allocate more than 64K at a time. You could also use FtrPtrNew if you wanted a chunk of memory in the storage heap.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
