Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
TRY
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

DECLARE_OLECREATE_EX 

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


DECLARE_OLECREATE_EX(class_name )

Parameters

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(CSampleCtrl)
   END_OLEFACTORY(CSampleCtrl)

Community Additions

ADD
Show:
© 2015 Microsoft