"Hal Mueller" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Can you build your PDB using the "par" utility?
>
Downloaded and used "par" to analyze file.

On the PC:
 - "par" shows 270 records  (both as header dump and dump of records.)
 - PDB Reader shows 270 records
 - app works perfectly in Emulator
 - Simulator shows 270 records, app works perfectly

File downloaded to Palm:
 - Filez shows 256 records
 - DmNumRecords() in app shows 256 records.
 - app is missing important records.

have you tried copying the file to a memory card; then, using the internal
system copy function to copy it to the internal memory and do the same
checks? i would put my money on the fact that you "hotsync" procedure
is doing something it shouldn't be doing...

avoid hotsync; do it via a memory card; that'll help you track down the problem.

i know for sure that a database can have > 256 records in it. i've had a 8mb
streaming file; which, has records each of 4096 bytes in size (4100 - with sig)
which is at least 2048 records; and, this was hotsyncable fine back in the day.

the number of records is an UInt16 - its been that way since palmos 1.0

--
// Aaron Ardiri

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

Reply via email to