Q: How to get the current working directory?
A:
<br>Code:TCHAR szDirectory[MAX_PATH] = "";
if(!::GetCurrentDirectory(sizeof(szDirectory) - 1, szDirectory))
// Error -> call '::GetLastError()'
Q: How to get the current working directory?
A:
<br>Code:TCHAR szDirectory[MAX_PATH] = "";
if(!::GetCurrentDirectory(sizeof(szDirectory) - 1, szDirectory))
// Error -> call '::GetLastError()'