I'm writing a PDB file reader and converter. In my Palm program,
I have a simple structure defined, just:
struct {
name[21];
} MyStruct;
and when I write to the Palm database, I always use something on the
order of:
DmWrite(acc_H, 0, &acc, sizeof(MyStruct));
However, I've found that when I read the PDB file, instead of each
record being 21 bytes long, each record is only 12 bytes long.
It is true that the longest value is 11 bytes long, but does this
mean that the record length changes based upon the size of the
values in the record, and *not* based upon how many bytes I write
to the record while on the Palm?
Sean.
---
Sean L. Gilley I'm the kid who has the habit of dreaming.
614-860-0247 (h) Sometimes gets me in trouble too.
[EMAIL PROTECTED] But the truth is I could no more stop dreaming
Then I could make them all come true.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/