Guich, >When i call DmCloseDatabase, does the db gets synced automatically or do i >need to call >sync explicitly (in zire 22).
Yes, the act of closing a database does force a sync -- or at least it does presuming it was opened in read/write mode (and you have made changes?). DmSyncDatabase() is to allow periodic flushes of cached information to NVFS without the need to close and reopen the database. But what is PalmOS5RE? Does that allow you to write pnolet routines using calls to the various OS apis directly from the pno code? I have previously regarded pno code as most approriate for cpu intensive algorithms -- say compression, image or sound codecs, etc -- but not cases which are laden with API calls such as database access. Say I have a process which must loop over all the records in some database and for each iteration access a bunch of other databases. Can an existing m68k routine be ported to a completely native pnolet routine and gain better performance? Doug -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
