> I want to use ExgDBRead to read a PRC and PDB as a stream. The 3rd > parameter of the function is where I can pass my open handle but what do > I call to opon the PDB/PRC. FileOpen will not allow for opening PDB's > and PRC's.
Think of ExgDBRead as converting from the "flat" prc/pdb format to the native Palm database format, in which the database resource/record list contains handles that refer to the actual resources or records. ExgDBWrite goes the other way, streaming out a prc/pdb. In both cases, the ExgDB function takes care of reading or writing the native Palm database, but not reading or writing the "file". You pass the address of a callback function that reads or writes the file. Actually, it can read or write any data stream; e.g., FileStream, VFS, IrOBEX object, TCP/IP data, etc. What are you trying to do? It sounds like you may want ExgDBWrite, but I need a little more context. -- Danny @ Palm -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
