Calling a C# from C++

  • Thread starter Thread starter Tony Mitri
  • Start date Start date
T

Tony Mitri

Hi All,
Is there a way to instantiate a C# class and call its
methods from C++.

The C# class was built using VS.NET 2003
The C++ COM object was built using VC++ 6.0

Thanks
 
Tony,

Yes, there is. You would have to export your C# assembly to COM using
the TLBEXP utility, and then access the objects/methods through your C++
code as if it was a COM object.

Hope this helps.
 
Back
Top