How to call C++ written ActiveX from C# ?

  • Thread starter Michael Grabelkovsky
  • Start date
M

Michael Grabelkovsky

I have C++ written ActiveX.
It's called from Browser and works without any problem.

But I haven't been succsessfull to call him from .NET (C#) environment.

I'd like to see any example to understand the problem.

Thanks,
Michael.

Additional information:
1. ActiveX was written inside VC6 environment.
2. I try to use the http://samples.gotdotnet.com/quickstart/winforms/doc/WinFormsAxHosting.aspx. Nothing. It is not seen even as "white box".
3. I've add MessageBox(..."OK"...) inside Control constructor. It's called! But C# application traps after...
4. I succsessfully call my ActiveX from Browser control implemented inside .NET (C#) application. But I can't manage it in this case.


Probably I need to transmite ActiveX to VC7 ?
 

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