views:

185

answers:

1

I am creating a dll file in visual C++ through Dynamic Link Library project. I know i can import this dll thorugh object browser in C#. I want to know whether i can use those functions without any issues, since i am programming in 2 different languages.

+2  A: 

Is your C++ DLL written in managed C++? If so then you should be able to use it by just adding a reference to it from your C# project. Otherwise you want to look into .NET Interop topics to learn how to use both.

Brian Ensink