activex wrapper for a .net control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is it possible to provide an activex wrapper for a .Net control,
e.g. written as C++ MFC or ATL class?
 
Hi,

Use regasm.exe .NET Framework SDK utility to register your .NET control as
if it were an ActiveX control, and use it from C++ as usual.

Hope it helps,

Fran Garcia
 
Sorry, but it's not so easy.
This will not work for any ActiveX host, e.g. the .Net host itself!!

It's necesary to write a COM wrapper which hosts the .net control itself
 
It should work but, in any case, you can write an ActiveX control with
Managed Extensions for C++, and use your managed control.
 
Back
Top