How to get the App(.EXE)'s full path in MFC application?
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
It's seem that the App's m_pszAppName and m_pszExeName member only contain the module name,is there a way to get the App's full path? Scratch
-
It's seem that the App's m_pszAppName and m_pszExeName member only contain the module name,is there a way to get the App's full path? Scratch
A Q&D way that has never failed (for me, at least) is to use value of "CWinApp::m_pszHelpFilePath", and just replace the extension with your app's extension (usually "EXE"). Peace! -=- James.