> Unfortunately when I try to copy the pdb I created to the Palm via the
Palm
> Desktop software, I get the following message from the HotSync log:
>
> HotSync operation started 09/14/01 17:26:38
> - Invalid handheld file deleted: C:\Palm\BondyR\Install\oost1.pdb
Try dragging it onto a Poser window. It'll give you a better explanation of
what's wrong.
> a) I left the creationDate, modificationDate and lastBackupDate as 0
I don't think this is acceptable. Try putting in real values.
> b) I don't have an appInfo block, so I wrote out a 0 for the appInfoID.
Good.
> c) ditto for the sort info block - don't have one and used 0 for the
offset
Fine too.
> d) The RecordListType (pg 20 of the PDB Database Format doc) has a field
> 'nextRecordListID'. Again, this is an offset to the next REcordListType.
I
> assumed a value of 0 to indicate that there is no other list - is this
> correct?
Yup.
A good way to learn about the PDB format (beyond just reading our docs on
the subject) is to look at valid PDB files in a hex editor. You can use
Poser's Export Database command to generate PDB files from databases in an
emulated Palm. Try MemoDB as a starting point - it has an app info block for
categories but no sort info block.
--
Danny @ Palm
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/