Q: How to get the current working directory?
A:
TCHAR szDirectory[MAX_PATH] = "";
if(!::GetCurrentDirectory(sizeof(szDirectory) - 1, szDirectory))
// Error -> call '::GetLastError()'
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Andreas Masur Search: Search took 1.72 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |