calling C++ from C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm looking for a simple example for calling a c++ code written in .NET from my C# application

any reference would be great

Thanks,
Sagiv
 
I'm looking for a simple example for calling a c++ code written in .NET
from my C# application.

If you mean that your code is in managed C++ then pack it into assembly and
add it to your references in C# application.

Gawel
 
Thanks Gawel, but that's exactly what I do not know how to do. Could you
point me to a simple example ?

Thanks a lot for your reply.
Sagiv.
 
Thanks a lot Gawel, your code was very efficient for me.

How would I know for sure whether my code is managed or not.
And if not, I guess I'd have to wrap it in order to use it from my c#
app ?!

-Sagiv.
 
Back
Top