CWinApp::m_pszExeName

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;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

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.

See Also

CWinApp Overview, CWinApp Data Members, Application Architecture Classes