How can I dynamically instantiate an ActiveX control from an .ocx file?

2.2k views Asked by At

I would like to create an instance of an ActiveX control. Given the .ocx file and interface definitions in C#, how can I do this? I don't mean the usual way of adding a reference to the project because I want to avoid the need for registering the control globally on the target system.

1

There are 1 answers