how to make C# code work with C++ (6.0/evc)

A

Amadej

Hello everyone,
let me explain the situation. We have an old application written in
C++ (embedded visual c), and I wrote a new component for it
(communication component with a custom protocol) in .NET.
Now we need to make the program and the component work together, which
of course is a problem. The only way I figured it would work is if I
make the .NET part a standalone application, and let them communicate
over TCP/IP, which would involve making a communication protocol for
the two applications.

My question is, does anybody have a better idea? :)

Regards,
Amadej.
 
P

Patrik Löwendahl [C# MVP]

Using the COM Interop services, you could export the .NET component as a COM
server and register it that way.

Look for Com Callable Wrapper, tlbexp.exe and RegAsm in the .NET
documentation
 

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