Spare memory went from 800K to 5.7M, merely by partitioning the data as you 
suggested.  I'm taking baby steps and am packing just 20 records at a time.

I would like to be able to determine how many actual records are in a packed 
pdb.  So I need a definitive way to determine the size of a record.  The number 
of actual records in the last pdb record could be determined by: PdbRecordSize 
/ ActualRecordSize;

DmQueryRecord returns a MemHandle, and I thought about calling MemHandleSize.  
But I'm not sure if this is accurate.  I need to know the size of the last 
record (which packs several actual records).  Any help?

The alternative is to write a recordsize record at the beginning or end of the 
pdb, but that just doesn't seem right.
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to