Thanks Doug for that clarification. -Viren
--- In [EMAIL PROTECTED], Douglas Handy <[EMAIL PROTECTED]> wrote: > Viren, > > >Correct. But Doug, how would I know what all info is it dumping in > >the AppInfoBlock or SortInfoBlock ? > > You don't have to know what or why they put something in those blocks, only that > they exist and how to get to the records. See the docs at > http://www.palmos.com/dev/support/docs/fileformats/Intro.html#939653 for more > information. > > You don't want to assume the records begin after the recordlist. On the above > page you'll find a specific warning about that: > > "IMPORTANT: There is always a gap between the final record list in the header > and the first block of data in the database, where the first block might be one > of the following: the appInfo block, the sortInfo block, raw record or resource > data, or the end of the file. The gap is traditionally two bytes long; however, > if you write code to parse a database, your code should be able to handle any > size gap, from zero bytes long and up. " > > >I mean there is no way for me to > >know by how much do I have to increment my offset > > Start at the above page and read the documentation on the formats. It is > possible to know... > > Doug > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/