Re: Duplication of PDB

2001-08-16 Thread Greg Lutz
It may not be a practical solution to this problem, but PalmOS does have the logic for database duplication hidden away in there: you can transmit a database via ExgDBWrite and receive it via ExgDBRead; and if you set the localMode flag in the ExgSocket that manages the transmission, the

Duplication of PDB

2001-08-15 Thread Leonardo Gomes Holanda
I have a single pdb on my Palm device and I would like to duplicate it. Do I have to make a main loop where I make a copy of each record to the new database or is there any function where I can make a copy of the entire database in a single step? I'm trying to do this way: static void

RE: Duplication of PDB

2001-08-15 Thread Danny Epstein
I have a single pdb on my Palm device and I would like to duplicate it. Your approach should work, but there are other options as well. See http://www.escribe.com/computing/pcpqa/m45259.html for my post on the subject from a week ago. DmDuplicateRecord(localPdb, final, reg); // Is there any