Problem: On T|X Simulator and real device, after a soft reset, some databases 
would be deleted by the system.

Details: I installed a .pdb file from PC to T|X Simulator. This database is 
58KB, 7 records, most records are just a few hundred bytes. Then I ran a very 
simple test program which just open this database, "Get" each record, write a 
few bytes to it (not exceeding the recode size), then close the database. All 
handle values, pointers, function return values are good. Now perform a soft 
reset for the Simulator. After the reset, this database is deleted. It can't be 
found using any memory utility or the Simulator's View Databases command.

This happens only on T|X, but not Treo 650/680. And only this particular .pdb 
file has this problem, other .pdb files don't.

I read somewhere that the Palm OS would delete "corrupted" database after a 
reset. Can anyone tell me if this is true? What situations does Palm OS 
consider a database corrupted? Is there anyway for an applciation to detect and 
"fix" such problems? Or, any work-arounds?

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

Reply via email to