From: "KEN" <[EMAIL PROTECTED]> > I have generated a .pdb file > (using pdbc compiler > http://www.obermuhlner.com/public/Projects/Palm/PDBC/index.html ) > with the records as follow: > > record > begin > includebin "abc.txt" > end; > > The file structure of the binary text file is like this: > Your file is either binary or text and you really need to know which it is, although everything else you've said seems to suggest a binary file. I don't know if pdbc handles byte swapping for binary data, but since it doesn't know the contents of the binary block that's unlikely.
PDBGo (www.pdbgo.com) was built to simplify the creation of this sort of complex pdb and comes with java and VBScript examples. Although the free demo watermarks some records it might be an easier way to test that your PalmOS code fits the structure of the pdb than pdbc, although given your level of understanding I'm not sure that introducing a scripted solution will help. >From memory PDBC had a way for you to define the structure of the pdb - are you sure that you've done this correctly? Chris Tutty -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
