Dark Bit Factory & Gravity

PROGRAMMING => C / C++ /C# => Topic started by: efecto on December 29, 2009

Title: c# mixed with c++
Post by: efecto on December 29, 2009
Hey,

anyone here ever mixed managed c# with unmanaged c++?

Was thinking of doing a c# gui with a c++ backend, but have a bit trouble with the wrapper in between.
So anyone have any pointers?

cheers,
Efecto

Title: Re: c# mixed with c++
Post by: Jim on December 30, 2009
If you build the C++ into a dll you can use the standard Interop stuff to call it - in the same way you would call a function in the Windows API.

Jim