Clive Walden wrote: >Thanks for all the advice. >I am responding to this as a composite of responses from Chris and Ben's most >recent postings. > > >>That's fine, you should still be able to use the source code for >>reference. > >Always useful, I agree. >In my case, I need to translate to Pascal; but that is not too hard. >Especially as it is mainly >calls to Palm API's anyway. >
I am using Palm Conduits for Delphi, available at sourceforge.net, to create my pdb on the PC. I actually don't create the App info block myself, but found it more convenient to load the schema from the pdb created on the Palm. That way I avoid errors and don't have to rewrite code. There is a pdb_viewer example in there which could be a starting point to change the app info block. Palm Conduits takes care of byte order for simple types. I'm using fields for simple types and Blob streams for raw data from a embedded db to create the pdb records. It's fast. I had problems with alignment earlier, Logan Shaw gave me useful advice in this newsgroup to fix this on the Palm. (I'm now using AES which has byte arrays and is platform neutral, don't need to care about byte swapping, endianess or alignment). Greets, Benjamin Stadin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
