This data member contains the name of the application's executable file without an extension. Unlike m_pszAppName, this name cannot contain blanks.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
const char* m_pszExeName;
LPCTSTR m_pszExeName;
If you assign a value to m_pszExeName, it must be dynamically allocated on the heap.
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.