This documentation is archived and is not being maintained.

DECLARE_CLASSFACTORY 

Declares CComClassFactory to be the class factory.


DECLARE_CLASSFACTORY( )

CComCoClass uses this macro to declare the default class factory for your object.

class CMyClass : ..., public CComCoClass< ... >
{
   ...
   DECLARE_CLASSFACTORY()
   ...
};
Show: