> I'm wondering if it is a plausible option to wrap the C++ shared
libraries with a C library, which 

> would then be wrapped by the C# platform invocation wrappers that I'd
write...

 

Have you looked at SWIG (http://www.swig.org <http://www.swig.org> )?
The C# language module generates both the C wrappers and the C# P/Invoke
wrappers, and lots of work has been put in to make sure that it deals
with issues like correctly propagating exceptions from C++ up to C#
code.

 

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to