

However the VS generated file seems to not be linking to the file system that bounces programs to the right place.
WINDOWS 7 INI FILE LOCATION WINDOWS
which is fine because it does a link ro something internally which allows everything to still operate correctly even though windows is managing the file.
WINDOWS 7 INI FILE LOCATION WINDOWS 7
Whenever I create a file in windows 7 i immediately sends it to the virtual store. This is what it seems like to me which may or may not be any help in solving my problem. This is just a quick snippet but i tried that also and i still cannot read/write to an ini file even if i do that. these also fail to read and write to the ini file in windows 7 when i compile using visual studio.

Oh and i have tried to use GetPrivateProfileString and WritePrivateProfileString(). When i run this same program with code::blocks: it operates fine in both WinXP and Win7.Is there some sort of setting or something i need to set in order to be able to read and write to. so basically i never get to see the line: if(fin.is_open()) when i put a breakpoint ini file it throws me out of the function. When i compile this with Visual Studio the result are as follows: Works in WinXP does not work in Win7. Using Visual Studio 2010 Express - I know it is evaluation but i would not think the idea of opening an ini file would be so advanced as to not be able to be done with the evaluation versionįin.open("C:\\Program Files\\Midian\\HTML_Help_Viewer\\testIni.ini") įout.open("C:\\Program Files\\Midian\\HTML_Help_Viewer\\testIni.ini")

I have been looking for possible settings issues and will continue to do so but here is the situation
