Hi Experts,
I have now run into a weird problem - GetPrivateProfileString returns the default value. I don't think I've changed anything that should affect this.. The section, key, and filename are all correctly passed as CStrings to GetPrivateProfileString - the file exists, the section exists, the key exists.... everything exists except my understanding of how this is not working.
I am very much grasping at straws here, but I've started to use gflags before I noticed this problem - and maybe it's a coincidence but I think I am seeing this problem with GetPrivateProfileString since I ran the following line program in the debug directory of my program:
gflags -p /enable MyProgram.exe /full
and then
ntsd -g -x MyProgram.exe /lines /CorruptAfterEnd
Start Free Trial