[Mono-list] How to create C++ library and call it's functions from C# program?

Marcus mathpup@mylinuxisp.com
Thu, 11 Mar 2004 19:38:14 +0000

On Friday 12 March 2004 1:16 am, Jonathan Pryor wrote:

> Finally, it can be noted that the intermediate C library, and a C#
> wrapper for the C library, can be automatically generated (with some
> programmer assistance).  See the SWIG project:

I've looked at SWIG, and found it unsatisfactory. The C/C# code generated was 
very difficult to read. Also, different C++ classes require different memory 
management strategies, and I setting that up in SWIG looked impossible.