Is there anyway to flush to the cache except by closing the file ?
Yes. There's a new call, DmSyncDatabase, implemented on the device. This is part of future Palm OS 68K SDK releases, and is also documented in PalmOne's SDK.
And if you close a file can you RELY that cache will be flushed ???
Yes.
Is there anyway to force a copy of a record to be always flushed out of cache when you release it?
You can't flush at the record level, just the database level.
And what about the Application and Sort blocks? How can we make sure these get flushed out of cache when they are changed?
They are handled at the database level.
-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm Archives: http://news.palmos.com/read/all_forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
