By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,507 Members | 1,758 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,507 IT Pros & Developers. It's quick & easy.

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

P: n/a
how to use C# dll files in the C++.net??
Can anyone give me an example ??

regards,
Liu Guidong
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You do it just like you would with any .NET class library:

#using <pathtomydll.dll>
Arild

"Liu Guidong" <lg*********@hotmail.com> wrote in message
news:08****************************@phx.gbl...
how to use C# dll files in the C++.net??
Can anyone give me an example ??

regards,
Liu Guidong

Nov 13 '05 #2

P: n/a
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
"Liu Guidong" <lg*********@hotmail.com> wrote in message
news:08****************************@phx.gbl...
how to use C# dll files in the C++.net??
Can anyone give me an example ??

regards,
Liu Guidong

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.