From: "Richard Coutts" <[EMAIL PROTECTED]> > I read in the "Instant Palm OS Apps" that one of the benefits of using > Databases (over File-Stream operations) is that databases are automatically > backed up when the user does a HotSync.
You need to add one extra step--set the backup bit. Here's the code I use with POL--it's straightforward to convert to use the API directly: UInt16 cardNo; LocalID dbID; UInt16 attributes; GetDbUniqueID(dbID); GetCardNo(cardNo); GetDbAttributes(cardNo, dbID, attributes); attributes |= dmHdrAttrBackup; SetDbAttributes(cardNo, dbID, attributes); -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
