activex wrapper for a .net control

G

Guest

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

Francisco Garcia

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
 
G

Guest

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
 
F

Francisco Garcia

It should work but, in any case, you can write an ActiveX control with
Managed Extensions for C++, and use your managed control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top