By Barbara Han
Before Inventor 2012, InventorViewCtrl.ocx was registered automatically, but starting from 2012, the registry-free was introduced. That means no registry key like Inventor.ViewControl.1 will be written.
Plug-in developers have to link the corresponding manifest files to their application if they want to use the OCX. This manifest file can be created with mt.exe (MS tool). More information about registry-free COM, please refer to http://msdn.microsoft.com/en-us/library/ms973913.aspx .
Bottom line: you have two options:
1. Use mt.exe to generate manifest file by yourself and link the manifest file to your application.
2. Use old style. But you have to register InventorViewCtrl.ocx manually by running “Regsvr32 InventorViewCtrl.ocx”.