Calling C++.NET code from C#.NET code

D

David Elliott

I have source code for a 3rd party product. The product is written for traditional C++. There
was a VS .NET Solution File that was provided for compiling the DLL.

I have compiled the code using the VS .NET 2003 C++.NET and am now trying to build some
demos to test the features.

My question is, How do I call the methods in the DLL and how do I know what namespace
to use with the the "using" statement inside of a C# project?

Thanks,
Dave
 
D

David Elliott

It looks like I will be using the DLL in the traditional C++ format (i.e. Compiled with VC++ 6.0)
So I have an example for future reference if anyone has an example of doing it both ways
(i.e. calling C++ and C++.NET from C#.NET), I would appreciate it.

Thanks,
Dave
 

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