I have this function/method
Which makes incomaptibility errors.
I call it with this:
I want to get complete path to a file in current directory but I can not work with these things to convert strings. Can you help with it?
Code:
char Setts::GetTempFileName(char fileName)
{
std::string path = GetCurrentDirectory(_MAX_PATH, path) + "\\" + filename;
return path;
}
I call it with this:
Code:
TempPath = GetTempFileName("scendata.tmp");
logname = GetTempFileName("ats_cache.log");
Last edited: