다음을 통해 공유


형식 라이브러리 액세스

Type libraries expose the interfaces of an OLE control to other OLE-aware applications. Each OLE control must have a type library if one or more interfaces are to be exposed.

The following macros allow an OLE control to provide access to its own type library:

Type Library Access

DECLARE_OLETYPELIB

Declares a GetTypeLib member function of an OLE control (must be used in the class declaration).

IMPLEMENT_OLETYPELIB

Implements a GetTypeLib member function of an OLE control (must be used in the class implementation).

참고 항목

개념

MFC 매크로 및 전역