Export (0) Print
Expand All
TRY
Expand Minimize
This topic has not yet been rated - Rate this topic

DECLARE_OLECREATE_EX

Declares a class factory and the GetClassID member function of your control class.

DECLARE_OLECREATE_EX(class_name )
class_name

The name of the control class.

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:

BEGIN_OLEFACTORY(CMyAxCtrl)
END_OLEFACTORY(CMyAxCtrl)

Header: afxctl.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.