/ Published in: C++
Use the WinBase API GetCurrentDirectory to get the directory into an MFC CString.
Expand |
Embed | Plain Text
CString currentDir; GetCurrentDirectory( MAX_PATH, currentDir.GetBufferSetLength(MAX_PATH) ); currentDir.ReleaseBuffer();
You need to login to post a comment.
