I am writing an app that may have in its memory quite a bit of data. I dont want to write the data to disk ad hoc because there may be more data to write, I could append the data, but I dont want to run into any file corruption issues.
Are there any good tutorials or trusted methods describing how a windows program typically makes use of temp files? I want to be able to recover the data on a disaster such as a reboot or loss of power.