There are some 64K limits in Palm OS, but you should have no problem
breaking the 32K barrier. You do need to be aware of the limitations of the
dynamic and storage heaps. The former is used for temporary stuff, and has a
limited size. The latter is used as a persistent store, and requires going
through APIs to write to the memory, so that errant programs don't trash
everything on the device. The dynamic heap is normally access using
MemPtrNew and MemHandleNew. The latter can move in memory, except when it's
locked down, allowing the memory manager to rearrange things to make room
for new requests. The storage heap is normally access using the data
manager, by creating a database and then adding records to it. If you're
running into problems at the 32K boundary, it might be because you're using
a signed type somewhere?
-- 
Peter Epstein

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

Reply via email to