I need to call CLP (a linear programming solver writen in C++) from C# .net (4.0, 4.5) in VS2013.
http://www.coin-or.org/Clp/userguide/clpuserguide.html
I have search some links about how to call C++ lib from C#.
I found the possible options:
use the C# warpper
Design wrapper class myself.
http://www.codeproject.com/Articles/19354/Quick-C-CLI-Learn-C-CLI-in-less-than-minutes
https://msdn.microsoft.com/en-us/library/ms235281%28v=vs.120%29.aspx
CLP has too many classes so I try to avoid writing a wrapper class for each class. This may cause too many errors.
The first option has no English document, and has errors.
Are there other ways to call CLP from C# ?
thanks