Page 1 of 1

Referencing an activeX control in Monodevelop

PostPosted: Tue Jan 22, 2013 5:22 pm
by DelphiGuy
win 7, monodevelop 3.0.6

a vendor has provided me with a .dll file that he says is an activeX control. how, please, do i reference it from a cobra/monodevelop project?

i've tried:

"edit references" >> ".net assembly" tab >> which unsurprisingly gives an error msg saying that the .dll file isn't a .net assembly.

thanks.

Re: Referencing an activeX control in Monodevelop

PostPosted: Wed Jan 23, 2013 1:52 pm
by nerdzero
You could try wrapping it in a class using Visual Studio and then reference the resulting .NET assembly from MonoDevelop.

There might be a more straight forward way but I don't know it.

Re: Referencing an activeX control in Monodevelop

PostPosted: Wed Jan 23, 2013 3:57 pm
by ObtuseAngle

Re: Referencing an activeX control in Monodevelop

PostPosted: Fri Jan 25, 2013 2:55 pm
by DelphiGuy
thank you! this is very interesting reading and good to know about. the vendor told me he's going to supply me with a .net assembly so the conversion mission may be moot for the moment.