how to use C# dll files in the C++.net??

L

Liu Guidong

how to use C# dll files in the C++.net??
Can anyone give me an example ??

regards,
Liu Guidong
 
A

Arild Bakken

You do it just like you would with any .NET class library:

#using <pathtomydll.dll>


Arild
 
J

José Joye

Assuming this is a managed class, you can also

- add your dll in the project reference
- add "using namespace <your namespace>" at the top of the managed C++ file

Jose
 

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

Similar Threads


Top