To make sure your prc file is backed, you need to set the backup flag of the
PRC. If you're using CW, you can set that in the preferences panel. If you
want, you can of course do it in your code (see below)...

Regarding the PDB files you create, you need to set the same flag during
runtime... it should look something like this:

  DmOpenDatabaseInfo(dbP, &dbID, NULL, NULL, &cardNo, NULL);
  DmDatabaseInfo(cardNo, dbID, NULL, &dbAttrs, NULL, NULL, NULL, NULL, NULL,
   NULL, NULL, NULL, NULL);
  dbAttrs = dbAttrs | dmHdrAttrBackup;
  DmSetDatabaseInfo(cardNo, dbID, NULL, &dbAttrs, NULL, NULL, NULL, NULL,
   NULL, NULL, NULL, NULL, NULL);

Regards,
Ramel Levin
CTO
The PalmMate Team

Gotta a Palm? Gotta visit www.PalmMate.com
----- Original Message -----
From: Gaurav Palvia <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 11, 2000 12:06 PM
Subject: why does Palm Desktop not backs up my database and my .prc file


> whenever a HotSync operation is performed it saves  some .prc
> files in the backup directory in the /palm/gaurav/backup   but some it
> doesn't why so
> Do we need to use some functions in application to achieve this effect
>
>
>

Reply via email to