class CComInitializer: public _Base
Many applications require initialization code to happen. SFL's architecture has initializers that mix this functionality in. CComInitialize class represents generalized intialization and termination points for SFL applications that need to use COMAs you might expect, Init calls CoInitializeEx for the application and Term calls CoUninitialize for the application.
See Also CNoopInitializer, COleInitializer, and CCommonControlsInitializer
Defined in: Application.h
_Base = CNoopInitializer
Default initializaton.
coinit = COINIT_APARTMENTTHREADED
Default value representing which apartment to enter.
static void Init()
Initialize the application. Calls CoInitializeEx with the coinit template parameter
static void Term()
Initialize the application. Calls CoUninitializeEx.