"Clive Walden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I see lots of information about accessing appInfoID. My question is
about setting the appInfoID and the data to which it will point while
creating my PDB on the desktop.
>
> To clarify: I am using the Palm "database" as chunks of memory and
building my own database of embedded records inside it.
> In this scenario, I have found no information about where, in my
filestream, I should place the information and what value to put in
the appInfoID slot itself. Also how will it affect the numbering and
offsets of my Palm records which I generate for the header?
>
> Thanks,
> Clive
>
>

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.


      This value is set to NULL for databases that do not include an
appInfo block."


The appInfoID is an offset value as stated. The offset value should be
something like (8*numRecords+ 80).  The actual block follows the
record headers. You can find it at:

http://www.palmos.com/dev/support/docs/fileformats/Intro.html#970019

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