I set the backup bit on a newly created record database using the following
code under OS 3.5:

  DmDatabaseInfo(cardNo, dbID, NULL, &dbAttributes, NULL, NULL, NULL, NULL,
                             NULL, NULL, NULL, NULL, NULL);
  dbAttributes |= dmHdrAttrBackup;
  DmSetDatabaseInfo(cardNo, dbID, NULL, &dbAttributes, NULL, NULL,
                                  NULL, NULL,  NULL, NULL, NULL, NULL,
NULL);

Using Palm Debugger on POSE, I verified that the attribute was set (it is,
in fact, the only one set). The problem is that the database now appears as
a separate item in the Launcher's "Delete" and "Info" options, even if I go
ahead and set the "hidden" attribute as well. Further, Launcher will let me
delete my application, but the database still remains in the "Delete" list
even though it has the same creator ID as the deleted app.

Is there any way I can prevent the database from appearing in the "Delete"
and "Info" lists and still have it backed up (without writing a separate
conduit)? Thanks for any help anyone can give me on this!

Craig Torell



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to