How to use C# dll file in the c++ 6.0?

D

Dev

Dear Friends,
If I have written a C# .dll file, how can I use the .dll
file in the C++6.0?
Can anyone give me a simple example?

Thank you!!!

Thanks,
Dev
 
P

Paul Ingles

Your best bet (in my opinion) is to use .NET's COM Interop support to create
a wrapper around the C# methods and then call it through C++ COM client
code using QueryInterface etc.
 

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