The PDB is 98 records long with each record being ~1Kb. The exception is thrown towards the end of the read at the 95th or 96th record (but varies). The exception is consistently thrown from within the call to "new" at the last line listed below.
If new is throwing an exception, the only likely cause is being out of dynamic memory, so that the allocation failed. There aren't any other cases of allocation failure that new's implementation would detect.
--
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/
