Calling C++ DLL from C#

csharp , cpp , ivr , global call api , jct 300 card Ţungī, Bangladesh
  • 10 years ago
    I am working on a IVR project :font end:C#,backend:C++ thats why i need to know how can I call C++ DLL from C# application. Pls help me.
  • 10 years ago
    Welcome to DeveloperFusion.com, the global developer community site :-) You'll have to use P/Invoking (Platform Invoke) If you give us the method signature we can conjure up the necessary code to assist you further. In the meantime heres an article that may be of interest to you to learn more about P/Invoking. http://msdn.microsoft.com/en-us/magazine/cc164123.aspx Enjoy.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Every language has an optimization operator. In C++ that operator is ‘//’”