C++ and C# communication

D

Dev

Dear Friends,

I need communicate C++ methods into C# Program.If
anyone knows the sample code or Links.... PLease let me know...

Thanks,
Dev
 
N

Nicholas Paldino [.NET/C# MVP]

Dev,

What do you mean you need to communicate C++ methods in a C# program?
If you mean that you have to call C++ classes from C#, then you will either
have to use Managed Extensions to C++ to wrap your C++ classes in .NET
classes, or you will have to expose your C++ classes as COM components and
then import them into .NET.

Hope this helps.
 

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