Douglas Handy wrote:
Luc Le Blanc,
How can I change the name of a DB saved as a VFS file
The database name is stored as a null-terminated string in the first 32 bytes of
the file. So just overwrite the first (up to) 31 bytes with the desired name
plus a null terminator. On the card, a pdb has the same internal structure as
on a desktop, so just follow the normal documentation for the pdb structure.
Doug
Is this documented somewhere, eventually with a struct? I see my DB type
and creator ID further down. I would have to change that type too if I
must edit the file "extension" I keep in the DB name.
--
Luc Le Blanc
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/