Thanks for the info Ben. I guess that explains why local chunk ID's are only UInt16's.
Actually, that's not true. A HeapID is a UInt16, as there can't be more than 64K different heaps in Palm OS, but a LocalID, which identifies a chunk on a heap, is a UInt32. Back in Palm OS 1.0 and 2.0, heaps weren't larger than 64K, and you actually had multiple storage heaps on a device. With Palm OS 3.0, the storage heap was unified into one big mass, but the memory access limitations of the Dragonball processor required that the dynamic heap remain separate.
-- 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/