From: "Clive Walden" <[EMAIL PROTECTED]>
> What I am trying to clarify, is how that affects the way I build the 
> Palm records.
> 
The best answer IMHO is not to investigate this yourself.  There
are a number of tools for building PDB files and there's little reason 
to write this code again.  A search of the group's archive should
point you at some tools, the commercial tool I use is called PDBGo,
but there are a number of free and opensource alternatives.

> I am deducing from your response that Palm Record Number one 
> will now have an offset of
> (8*numRecords+ 80+sizeOf(appInfo structure))
> 
> i.e. First Palm record is now "pushed forward" by the size of the 
> appInfo struc.
> 
> Is that correct?
> 
Yes, given that there are also alignment issues that sometimes 
introduce packing.  

> I saw nothing in the file format descriptions that I could find that 
> definitively placed the appInfo struct immediately following the 
> Header and Records info.
>
The Palm "PDB and PRC Database Formats" document I last
used has a diagram that shows the AppInfo block ahead of the
optional SortInfo block immediately followed by the database
records.  I haven't tried to find an updated version of this, or
the "Palm File Format Specification", but to my knowledge the
format hasn't altered.

Chris Tutty

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

Reply via email to