COleControlModule

This class is the base class from which you derive an ActiveX control module object. This class provides methods for initializing your control module. Each ActiveX control module that uses the Microsoft Foundation classes can only contain one object derived from COleControlModule. This object is constructed when other C++ global objects are constructed. Declare your derived COleControlModule object at the global level.

COleControlModule is derived from CWinApp, and serves the same purpose in an ActiveX control module that CWinApp serves in a stand-alone application. For more information on using the COleControlModule class, see the CWinApp class.

At a Glance

Header file: Afxctl.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

CWinApp, Application Architecture Classes