CWinApp::InitInstance

Windows allows several copies of the same program to run at the same time. Application initialization is conceptually divided into two sections: one-time application initialization that is done the first time the program runs, and instance initialization that runs each time a copy of the program runs, including the first time. The framework's implementation of WinMain calls this member function.

Syntax

virtual BOOL InitInstance( );

At a Glance

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

See Also

CWinApp Overview, CWinApp Member Functions, Application Architecture Classes, CWinApp::InitApplication