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

  • Thread starter Thread starter Dev
  • Start date Start date
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
 
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.
 
Back
Top