I have a user with either a Lifedrive or T5 (can't remember right now) who has been having a problem with my app that did not make any sense to me from the symptoms. It's like the database just quits working after a while for no apparent reason. I finally had him send me the latest copy of the PDB file from his desktop backup directory.
Looking at it in binary format, I was able to find the problem pretty quickly. I create the database with an AppInfo block that is 1536 bytes long. But at some point in the use of the application, the info block gets truncated so that it is now only 1024 bytes long (loses 512 bytes). Naturally, anything in my app that expects data in the missing 512 bytes after locking down the record is going to blow chunks! So what gives here? My program does not rewrite the info block, and everything works when he syncs a new version of the database. I might also mention that there are 100s of copies of this program out there and this is the only user that has reported this type of problem. Are there any known problems in these newer devices, especially the Lifedrive, that could cause this? Or could there be a specific defect in the unit that he has? -- Doug G -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
