Using ActiveX Controls

This brief guide discusses how to use ActiveX controls in C/C++ plugins.


ActiveX controls placed in a simple dialog box will crash Rhino.


ActiveX, or OLE, controls work in Rhino plugins, as C/C++ plugin are simply regular MFC DLLs. For more information on MFC DLLs, read MFC Technical Note 33 and MFC Technical Note 58 for more information.

Also, you will need to call this function:

void AfxEnableControlContainer();

in your CWinApp-derived object’s InitInstance() member to enable support for containment of OLE controls.