Is it needed to change all \ to \\ when you use GetCurrentDirectory()? For instance, I want to create a file, so would it look something like this?
Or would I have to change every \ in szDir to \\?Code:char szDir[512];
GetCurrentDirectory(400, szDir);
strcat(szDir, "\\filename.barf");
...