We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IMPLEMENT_OLETYPELIB

Implements the control's GetTypeLib member function.

IMPLEMENT_OLETYPELIB(class_name, tlid, wVerMajor, wVerMinor )

class_name

The name of the control class related to the type library.

tlid

The ID number of the type library.

wVerMajor

The type library major version number.

wVerMinor

The type library minor version number.

This macro must appear in the implementation file for any control class that uses the DECLARE_OLETYPELIB macro.

Header: afxdisp.h

Show: