the only attrs that i'm using are: resourcedb and backup bits.
From debugging the code. the attr = 9 which is dmHdrAttrResDB and
dmHdrAttrBackup.


question: if you use a file manager and change the attributes
to have the backup bit would that work?

danny

----- Original Message ----- From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Monday, June 13, 2005 8:58 PM
Subject: Re: T650 resource cloning problem


At 09:22 PM 6/13/2005, you wrote:
Ben,

I'm creating a zip self-extracting archive. yes the files are closed and
i can unzip and zip on the fly on the launcher.  when i look at the Palm
folder in the hidden volume i dont see the file there.

basically i'm using the same name appending a 'z' at the end of the file name.

i'm using GSM unlocked T650. Garnet 5.4.5
firmware 01.14
software Treo650-1.05.-ROW

When you copy the database attributes from the old DB to the new one, make sure you mask that off and only set the user-modified attributes on the new DB. It's possible you're copying some state from the opened-for-reading DB to the new one that's keeping the system from writing it to storage. You should be able to do a bitwise and with the mask "(dmAllHdrAttrs & ~dmSysOnlyHdrAttrs)" when setting your attributes on the new DB.

-- Ben Combee, Senior Software Engineer, palmOne, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Forum Archives:   http://news.palmos.com/read/all_forums/


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





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

Reply via email to