No, you use the pointers in the PDB header to find the offset to the
start of the first record.

On 4/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> hi, i hope this is the right forum and i really hope someone can help.  from 
> the documentation:
>
> 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.
>
> How do i determine how long this gap will be?  Or do you just seek to the end 
> of the header, then readByte until you hit a non-zero value?
>
> (i'm trying to write a PC program to convert PDB to CVS.  i know there are 
> lots out there already, but i'd like to merge this functionality into another 
> another program i'd like to write)
> --
> For information on using the PalmSource Developer Forums, or to unsubscribe, 
> please see http://www.palmos.com/dev/support/forums/
>

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

Reply via email to