Re: Problem parsing pdb record entry in c#

2007-02-10 Thread Ron
Thank you bodo. That was part of the problem. I initially thought that it wasn't as the UInt16 for numRecords was reading right... but it turned out I was also reading 1 byte ahead. Thanks again :) -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http:/

Re: Problem parsing pdb record entry in c#

2007-02-10 Thread Bodo Wenzel
> I am parsing up to NumRecords fine... but for some reason I get huge > numbers for my offsets. I think I'm inturpreting the offset wrong... but am > not quite sure what to do. Palm uses the big endian number format, and presumably you're on a x86 PC with little endian. Try to read the offset as

Problem parsing pdb record entry in c#

2007-02-10 Thread Ron
Hi all, I am creating a parser for a pdb taken from a palm device. Though I am having trouble reading the record entry List. Everything works up to the point where I try to parse the record entry list. Here's my code: --- class RecordList { public UInt32 nextRecordListID;