G
Guest
Hi,
I've created an application that creates its own binary file and for every
modifications to the data I call Flush method of BinaryWriter class.
In this way, if the application crashes, I don't have lost of data.
This is true if the file is on folder like My Documents, but it is false if
the file is on storage card like CF or SD; in this case seems that Flush
doesn't work.
When I try to open the same file after a reset I don't have any data and the
file is empty.
Is this normal ? Is there a way to solve this problem ?
I now that I can close and open the file again but what happens when I have
to do hundred and hundred of changes in the data ?
Thank you in advance.
Keven Corazza
SierraSoft
I've created an application that creates its own binary file and for every
modifications to the data I call Flush method of BinaryWriter class.
In this way, if the application crashes, I don't have lost of data.
This is true if the file is on folder like My Documents, but it is false if
the file is on storage card like CF or SD; in this case seems that Flush
doesn't work.
When I try to open the same file after a reset I don't have any data and the
file is empty.
Is this normal ? Is there a way to solve this problem ?
I now that I can close and open the file again but what happens when I have
to do hundred and hundred of changes in the data ?
Thank you in advance.
Keven Corazza
SierraSoft