Thank you for the link Veronica.  I am not really at liberty to use the
actual program because it would mean a rewrite for a specific program from a
3rd party that is completely out of my hands.  So, I looked at the source
and I noticed one very important thing...

I noticed that the structure that PDBC uses to represent the header contains
all fields EXCEPT for the "fieldEntry" field, which was what I was looking
for mainly.  So, I guess my question remains...what exactly is this
fieldEntry?  Is it an offset into the rest of the PDB that points out the
location of the first record in relation to the beginning of the header or
is it the end of the header?

I find the documentation both helpful and confusing.  Helpful in that there
are great graphics and explanations of most of the layout of the PDB.
However, there are parts like this "firstEntry" and, for instance, a graphic
on page 23 of the FileFormats.pdf that is very confusing...

The graphic is that of some boxes with text representing the various parts
of a PDB, one on top of each other.  What is confusing is that there is one
box that says "list of record entries" and there is another box that says
"sequence of database records".  These both mean the same thing to me.  The
text beside it tries to clarify it, but it just makes me wonder what the
difference is even more.  One description says "includes variable-le list of
record or reso" and the other says "application specific records or
resources".  So what is it that hold my actual data.  Do the list of record
entries simply act as headers of some sort for the later sequence of
database records, which actually contain the data?

Bottom line, anyone know of any other resources I can use to learn more
about the format of PDBs?  Searching through google doesn't give me what I
want, nor does searching the knowledge base on palmos.com -- other than a
copy of the PDF file that I've already read.

Regards,

Daniel Suleski :->
TD, Mysticware Inc.
www.mysticware.com


"Veronica Loell" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Why don't you use a tool like PDBC? Actually since it is also released
> under GPL the source code is available, so maybe you can get some
> answers from there as well. Try:
> http://www.obermuhlner.com/public/Projects/Palm/PDBC
>
> Dan wrote:
> > Hi everyone.  I am looking into creating my own PDB
> > file from Windows, then HotSyncing it over to the Palm.
> > As a result, I have been reading the about the format
> > of resource and database files and something is a bit
> > unclear to me...
> >
> > At the end of the header for a PDB file, there is a
> > record list.  A record list looks like this:
> >
> > typedef struct {
> >     LocalID  nextRecordListID;
> >     UInt16  numRecords;
> >     UInt16 firstEntry;
> > } RecordListType;
> >
> > Now, according to the documentation, "firstEntry" is:
> >
> > "The start of an array of record entry structures,
> > each of which represents a single record in the list."
> >
> > How does a UInt16 represent an array?  I mean, I
> > want to place the data here.  I can't possibly place
> > an address; nor if I could, would I be able to place
> > an array of addresses to represent the multiple
> > records I wish to write.
> >
> > Thanx,
> >
> > Daniel Suleski :->
> > TD, Mysticware Inc.
> > www.mysticware.com
> >
> >
> >
> >
>
>
>



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

Reply via email to