Get application's full path, MFC, using AfxGetApp()->m_pszExeName, GetModuleHandle and GetModuleFileName


/ Published in: C++
Save to your folder(s)

For C++ MFC applications, this code gets the full path of the application (even if the application is a DLL run with RunDll32).

URL: http://www.codeguru.com/forum/showthread.php?t=312468

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.