Inventor View Control .ocx add in VS2012 on Windows 7 64 bit computer

Inventor View Control .ocx add in VS2012 on Windows 7 64 bit computer

Anonymous
Not applicable
1,053 Views
1 Reply
Message 1 of 2

Inventor View Control .ocx add in VS2012 on Windows 7 64 bit computer

Anonymous
Not applicable

Hello All,

 

I am really having trouble getting the InventorViewCtrl.ocx to be recognized by VS2012.

 

I did register the bin32\InventorViewCtrl.ocx with C:\sysWow64 but no go.

 

Any help would be greatly appreciated.

 

Bob

0 Likes
Accepted solutions (1)
1,054 Views
1 Reply
Reply (1)
Message 2 of 2

adam.nagy
Autodesk Support
Autodesk Support
Accepted solution

Hi Bob,

 

That ActiveX control is 64 bit on a 64 bit OS, so VS will not see it and you would need to add it dynamically like other 64 bit controls:

http://adndevblog.typepad.com/autocad/2012/07/use-64-bit-activex-component-from-a-net-assembly.html

 

I hope this helps.

 

Cheers,



Adam Nagy
Autodesk Platform Services