Ok, I did some more testing and answered my own question about the second buffer. It seems that I was allocating the second buffer using the exact size as the buffer returned from VFSFileDBGetRecord (determined with MemHandleSize), but just now I tried making it one byte larger and that corrected the problem. It seems MemHandleSize was not including the NULL terminator in the lenght it returned.
Bye for now. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
