This data member contains the name of the application's executable file without an extension. Unlike m_pszAppName, this name cannot contain blanks.
const char* m_pszExeName;
Note If you assign a value to m_pszExeName, it must be dynamically allocated on the heap.
LPCTSTR m_pszExeName;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
In Windows CE, this member is not initialized to the application's executable file name. If you use it, you must assign it a value, yourself.
CWinApp Overview, CWinApp Data Members, Application Architecture Classes