CWinApp::InitApplication
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
The CWinApp::InitApplication member function is obsolete in MFC.
Remarks
An initialization that you would have done in InitApplication should be moved to InitInstance. If you override CWinApp::InitApplication, and you do not call the base class function, you will leak the CDocTemplate objects that were added through CWinApp::AddDocTemplate.
Requirements
Header: afxwin.h