Update: I was able to back up my application and pdbs by doing the following steps: 1.) Run hotsync, with my conduit, that read and placed my data onto my palm. 2.) Un-registering my conduit(dll) via the CondCfg 3.) Running hotsync, a second time.
I did get my pdbs backed up, but this seems like a lot of hassle, for something I'm sure can be done with in one conduit, thusly with one hotsync. If the hotsync manager, written by Palm I presume, can take the pdb off the palm and place them on the pc, then there most be some code (APIs) that will do this within my conduit. Peter Epstein? Basically I want my conduit to take my raw data, text file, excel,..., convert it to the palm(pdb) , close the open db connection, copy the pdb on to my pc(where ever I point it to), then finish it's hotsync cycle. One hot sync, not two. Is there open source code to the hot sync manager dll? Has any body done anything like this? Thanks "Carl Smith" <[EMAIL PROTECTED]> wrote in message news:63532@palm-dev-forum... > > OK I've read all the posts on backing up a database, via setting bits and > all, but still can not get my palm database to backup to my pc. > > I've set the back up bit via: > // Get the attributes for our database > DmDatabaseInfo(theCardNum, theDBID, NULL, &theAttrs, NULL, NULL, > NULL, NULL, NULL, NULL, NULL, NULL, NULL); > > // Set the backup flag > theAttrs |= dmHdrAttrBackup; > > // Set the attributes > DmSetDatabaseInfo(theCardNum, theDBID, NULL, &theAttrs, NULL, NULL, > NULL, NULL, NULL, NULL, NULL, NULL, NULL); > on the palm side. > > Also in CodeWarrior, version 6, I have checked the 'Set back up bit' check > box in the project settings panel of PilotRez Post Linker. > > And the 'type' of the data is set in the DmCreateDatabase(0, name, creator, > type, false); function where type = 'TYDB' and name = 'MyName' > > I have written my own conduit, that reads data from a .txt file, and does > it's thing to convert to and install the pdb on the palm. The databases get > loaded on the palm but I do not see the .pdb files anywhere on my pc. > > 1.) Where should the pdb be getting backup to, what file? > 2.) What would the name of the pdbs be? > 3.) Any suggestions. > > Thanks for your help in advance. > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
