C++ DLL with C# application

  • Thread starter Thread starter Oleg
  • Start date Start date
O

Oleg

Hi All,

I've got some "solution" wrapped in DLL that was
implemented in C++, i.e. I've got some ready tested
classes.

Now I'm working on some project that is implemented in C#
and I'd like to use this DLL.

!!!!!!!!!!!!!!!!!!!!!!
!!!! The question: !!!
!!!!!!!!!!!!!!!!!!!!!!
Is it possible to use C++ classes (not managed code) in C#
application ?

Thanks in advance !
 
Is it possible to use C++ classes (not managed code) in C#
application ?

The short answer is yes, but not directly. You either have to export
them as COM objects and call them through COM interop, or provide a
MC++ wrapper.



Mattias
 
Back
Top