Visual Studio 2010 - Visual C++
DECLARE_OLECREATE_EX
Declares a class factory and the GetClassID member function of your control class.
DECLARE_OLECREATE_EX(class_name )
Parameters
Remarks
Use this macro in the control class header file for a control that does not support licensing.
Note that this macro serves the same purpose as the following code sample:
Visual C++
BEGIN_OLEFACTORY(CMyAxCtrl) END_OLEFACTORY(CMyAxCtrl)
Requirements
Header: afxctl.h
See Also