Declares the GetTypeLib member function of your control class.
DECLARE_OLETYPELIB(class_name )
Use this macro in the control class header file.
MFC Macros and Globals | IMPLEMENT_OLETYPELIB