I have a program that reads and writes data from a "file" on the palm using
FileRead and FileWrite.

The write routine for the program works fine, and the read routine also
seems to be functioning correctly, but the issue I have is when I try to
exit the program.

I am filling a data structure with information from the file.  The arrays in
the structure are 10 characters larger than required to store the data that
I am reading in.

If I do not read the data in from the file, the program runs and exits
perfectly, but after running the FileRead commands the program cannot exit,
it brings up the "Fatal Exception" window and will not reset from the button
in the panel.  It allows you to press the button, but does not continue a
reset after it.

I am doing full error checking from the FileRead commands, and even from the
FileClose command that is at the end of the procedure.

I am at a loss with this, and I need to get this functioning in the next day
or so.

I am using Codewarrior 6 with the default Palm SDK in Codewarrior (I cannot
upgrade to SDK 3.5 as the program runs to over 4000 lines of code, and I do
not have the time to convert it as well as continue coding it).

Any help would be appreciated.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to