Use3 this constructor to construct a CWinApp object and store the string in the lpszAppName parameter as the application name.
CWinApp ( LPCTSTR lpszAppName, LPCTSTR lpszHelpName = _T("") );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
A new parameter has been added to the CWinApp constructor. In addition to providing the application's name, you can optionally provide the name of its help file as well, in the lpszHelpName parameter.
You specify a help file to be used with the application as follows.
CWinApp(_T("My App"), _T("myApp.htc"));
CWinApp Overview, CWinApp Member Functions, Application Architecture Classes