"Clive Walden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Ralph,

Thanks but...

> This info is in the file format description:
>       "appInfoID The local offset from the beginning of the database
> header data to the start of the optional, application-specific
appInfo
> block.

What I am trying to clarify, is how that affects the way I build the
Palm records.

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?

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.

Clive
Clive Walden
Walden Consulting
Phone: 760-632-5856
Web site: www.clivewalden.com

That is correct. The record data chunks will move down by the size of
the appInfoBlock chunk. The relative positioning is given in the
diagram (Database Storage Format, Fig. 1.1) near the start of the doc.
ie, DB header, record headers, optional appInfoBlock, optional
sortInfoBlock, record data chunks. Probably best to look at examples
that other have pointed to or - if possible - use an available tool to
generate your PDB.

Ralph





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

Reply via email to