COleInitializer Class

class COleInitializer

Many applications require initialization code to happen. SFL's architecture has initializers that mix this functionality in This class represents generalized intialization and termination points for SFL applications that need to use OLE (for example, applications that need to use the OLE Clipboard). As you might expect,  Init calls OleInitialize for the application and  Term calls OleUninitialize for the application.

See Also  CNoopInitializer,  CComInitializer, and  CCommonControlsInitializer

Defined in: Application.h

Class Template Arguments

_Base = CNoopInitializer

Default initializaton.

Class Members

static void  Init()

Initialize the application. Calls OleInitialize

static void  Term()

Terminate the application. Calls OleUninitialize