Database management during synchronization is handled completely by the conduit.
There is a standard database call used by the Sync Manger to create a database:
SyncCreateDB creates a new record or resource
database on the handheld and then opens it. You have the same control
over database creation from within the conduit that you have on the
rDbStats parameter is of type
CDbCreateDBClass and contains the following
Output field. On a successful return, this contains a handle to the created database with read/write access.
Database creator ID. This should match the creator ID of the application.
The database attributes. Choose one of the following:
eRecord for a standard database,
eResource for a resource database. Another flag is
eBackupDB, which you set for the backup bit.
The four-byte database type.
Memory card where the database is located. Use 0, since no Palm OS device currently has more than one memory card.
The database name.
The version of the database.
Reserved for future use. Must be set to 0.
The Sync Manager call to open a remote database is:
SyncOpenDB(char *pname, int nCardNum, Byte& rHandle, Byte openMode)
The values for the four parameters are:
Name of the database.
Memory card where database is located. Use 0, since no Palm OS ...