To set the bundle bit on a database, look in DataMgr.h in the 4.0 SDK to
find:

        #define dmHdrAttrBundle 0x0800

and read the Palm File Format Specifications document on our website:

        http://www.palmos.com/dev/tech/docs/

to see where the database header attributes live in the pdb. You'll find
that they're at offset 0x20 = 32, just after the database name.

So open your pdb file in a hex editor and set the 0x0800 bit in the 16-bit
word at offset 0x20. The 68000 series is big-endian, so the first byte is
the most significant byte. So you want to set the 0x08 bit in the byte at
offset 0x20 and you don't want to touch the byte at offset 0x21.
--
Danny @ Palm

-- 
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