_mkdir("C:\\windows\\system32\\test");
The above line is causing problems, as it doesn't create the folder. I'm running with full admin on a Windows 7 machine. mkdir used to work for some reason but now it doesn't. Any help is greatly appreciated.
The problem is it works on other locations, like program files. It only seems to not work on some locations. Again, I'm using an admin account on the debugging computer.