Question Locked

managed and unmanaged code

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How can I make calls from unmanaged codes in vc++ to managed codes in c#?

Any help will be highly appreciated.

2 replies

by pradeeptapradhan

you have to use #using and include the C# dll. Next you have to use the same namespace as in the case of the C# dll. You have to use /clr option in compiler

This discussion is closed to new replies.