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

  • Thread starter Thread starter Liu Guidong
  • Start date Start date
L

Liu Guidong

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

regards,
Liu Guidong
 
You do it just like you would with any .NET class library:

#using <pathtomydll.dll>


Arild
 
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
 
Back
Top