다음을 통해 공유


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

참고 항목

참조

BEGIN_OLEFACTORY

END_OLEFACTORY

개념

MFC 매크로 및 전역