Hi Keyur
you must set the backup bit onto the attributes field of pdb, at next HotSync the pdb will be transferred.
Try this: LocalID dbID; UInt16 attributesP;
dbID=DmFindDatabase (0, "PPlanDB");
if(dbID==0)
{
DmCreateDatabase (0, "PPlanDB", appFileCreator, 'data', false);
dbID=DmFindDatabase (0, "PPlanDB");
}
DmDatabaseInfo (0, dbID, NULL, &attributesP, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
attributesP = attributesP | dmHdrAttrBackup;
DmSetDatabaseInfo(0, dbID, NULL, &attributesP, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
bye
Keyur Patwa wrote:
Hi guys,
Can anyone tell me how I can transfer a database (pdb) file from the device to my desktop?
I tried to play with the Hotsync options but couldn't find the clue!
Thanks, Keyur.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
