To force a write of the data, you need to use the DmSyncDatabase API that was added on the devices using NVFS. Details are in the Palm Developer Guide from pluggedin.palm.com.
On 3/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Never seen the next problem using old Palms which don't have flash RAM. > At the first time we have been doing something whith (DmOpenRef) records, > reading/writting a data from/in the records > Next I do something wrong in code that makes an exeption or a fatal error > and obviosly Palm needs the reset. After reset I never lost the data in just > written record if my application falls > Using newer Palms with flash chips after the crash what I see: > all the records I have just correctly written (changed) before the crash are > lost (have the same old values). > More likely Palm has kind of cache (desktop computer??) where it keeps the > new values before moving it into the record. > so after the crash Plam has lost the data. > Note, if an aplication ends the work without the crash, all the records have > new values.. ( cache was flushed ?? ) > What should I do to save the data? please don't say to write a correctly > working application ;-) yeah! > > -- > For information on using the PalmSource Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
