David Richardson

David Richardson

  • NA
  • 24
  • 15.3k

Windows XP Doesn't Read Files Correctly

Mar 22 2011 3:38 PM
I am having a weird error,

My code compiles, and runs perfectly fine on Windows Vista and Windows 7 error free. However, when I try running it on Windows XP when I try reading/writing to a file, it crashes and gives me an IO error saying the config file is not in directory.

The file I am trying to read/write to is: /config/Rooms.cfg (this reads / writes correctly on vista / 7), however on XP it is looking for the file in /sources/config/Rooms.cfg

I have attached the source for the main form, if other code is required I can post it too.





Attachment: mainform.zip

Answers (4)