DECLARE_OLECREATE_EX
TRY
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

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)
Show:
© 2016 Microsoft