Compiling C++ Code

  • Thread starter Thread starter ArunPrakash
  • Start date Start date
A

ArunPrakash

Hi All,
I have a requirement where I have a piece of C++ code and C# code
which i need to compile and call the methods in it( the signature of
the methods that will be in it, i know before hand ) from a C# code. I
got how to do it for C# code. Using CSharpCodeProvider class. But i
want to know if theres a way of doing it for native C++ code from C#.

Thanks & Regards,
Arun Prakash.B
 
Compile the C++ code into a DLL and call it from C# using P/Invoke? Unless
I'm missing something. AFAIK there's no such thing as a "code provider" for
C++ as there is for C# and VB.NET.
 
Right, that's my understanding too. The code providers are for J#, C#, and
VB.Net to my understanding.
 
Back
Top