On Mon, 2006-12-11 at 04:20 -0600, R. Tyler Ballance wrote:
> 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

Short version: Yes.

Long version: http://www.mono-project.com/Dllimport

Pay special attention to the "Runtime Exception Propagation" section --
you CANNOT permit C# or C++ exceptions to pass through a P/Invoke
boundary.  (The section explains why.)

 - Jon



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

Reply via email to