posted 12 years ago
I have a simple application that I wrote to help me write reports. Recently at work I have been given a windows 7 machine. My application ran fine under windows xp but under windows 7 it fails to set preferences when the application closes.
I'm using these snippets of code to read and write preferences:
then later on...
to check if it has already been set and then take the necessary action if it is (read in and write).
The on exit, I write with this:
When I run the application, there is nothing on the command line that reports that there is a problem writing the preferences file (I was thinking there might be a permissions problem). Is this a known thing with Windows 7? What else can I do to debug the application? As I said earlier, my code is fine on linux/windows xp machines - it just seems to be this windows 7 setup.
TIA
Adam