[Mono-dev] c# / c++ interop question

Jonathan Pryor jonpryor at vt.edu
Fri Mar 10 07:41:44 EST 2006


On Thu, 2006-03-09 at 15:10 -0800, J wrote:
> However, going from C++ to C#, I am using C++/CLI.

Another approach would be to port the entire C++ library to C++/CLI
with /clr:safe (i.e. no unmanaged code).  The resulting assembly should
run under Mono (and if it doesn't, makes a good test case :-).

The downside to this is, of course, that you can't *build* the app under
Mono, but it should be able to *run*.  That, and you'd have to port +
maintain the C++/CLI port of your C++ library...

 - Jon






More information about the Mono-devel-list mailing list