◄CWinApp► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── virtual BOOL InitApplication(); Remarks Windows allows several copies of the same program to be running at the same time. Thus, 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. This function is called by the Foundation library version of WinMain. Override InitApplication if your application needs one-time initialization such as Windows class registration. Return Value TRUE if initialization is successful; otherwise FALSE. See Also ◄CWinApp::InitInstance► -♦-