Share via


Type Library Access

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).

See Also

Concepts

MFC Macros and Globals