Using ActiveX Controls
Windows only
Problem
ActiveX controls placed in a simple dialog box will crash Rhino.
Solution
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.