Donald C. Kirker wrote:
Problem solved!!!!!
great :-)
By the way, should I leave the "if (FileEOF(cache)) break; FileClearerr(cache);" in there? FileRead seems to return errFileEOF (or something like that) on its own, I just don't know if this is specific to any OS release.
I would just exit if FileRead returns less than the buffer size. I would not check explicit for other errors. If FileRead returns less than the buffer size, it means the file is coming to an end :-)
Regards Henk -- ------------------------------------------------------------------------- Henk Jonas [EMAIL PROTECTED] Palm OS ® certified developer Please contact me, if you need an off-site contract worker. ------------------------------------------------------------------------- -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
