Joe, Thanks for the quick reply.
It sure appears to me though that programmers should not messing around with these attributes to store arbitrary data. There might be good reasons to make changes to the attributes to cause the desired effect within the OS, but storing data is not one of them. Would you agree? Thanks again, Keith M ----- Original Message ----- From: "Joe" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 4:36 PM Subject: Re: palm database attributes > --- Keith Monahan <[EMAIL PROTECTED]> wrote: > > I've been trying to decode the attributes field of the > > palm database header. > > > > I'm looking at > > http://www.palmos.com/dev/support/docs/fileformats/Intro.html#939653 > > which shows the format of the palm database header. > > > > It shows the offset for the attributes field at 0x20, > > and 2 bytes in length. > > ... > > > What about when they are NOT a PQA database? What are these > > flags used for and where can I find an exhaustive list? > > I don't know if this is truly an exhaustive list, but look at > DataMgr.h, which is part of the SDK. In it, you will find #defines for > "Attributes of a Database". > > > In the case of an 8-bit color compressed image, it appears > > the two attribute bytes are 0x0000" > > Hmmm. That looks like "no attributes". > > > LFTP, ... happens to create a database whose attributes > > field has 0x0008 instead, > > That is dmHdrAttrBackup. > > > ... > > where is the list of which attributes that are possible, and > > what effect does it have on the OS? > > see DataMgr.h > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
