CCmdTarget::EnableTypeLib
Enables an object's type library.
void EnableTypeLib( );
Remarks
Call this member function in the constructor of your CCmdTarget-derived object if it provides type information. For more information, see Knowledge Base article Q185720, "HOWTO: Provide Type Information From an MFC Automation Server." Knowledge Base articles are available in the MSDN Library Visual Studio documentation or at https://support.microsoft.com.
Requirements
Header: afxwin.h