[Mono-dev] PInvoke and language interopelability

Alfredo José Muela Romero alfredoj.muela at gmail.com
Tue Jan 13 10:13:27 EST 2009


Hi everyone,

I've been learning how to interoperate with libraries in diferent languages
through PInvoke. I have already gone from the basics and direct uses to
quite more complex with the help of SWIG[1]... so far, so good.

My current problem, which I'm running out of ideas :/ is about how to get a
call from the dinamic to the wrapped code.

Let's say I have a dynamic library (in C++ for instance) which implements a
Model-View-Controller pattern. In that library exists a method which
receives a pointer to an object as a parameter in order to notify later
changes.

Does anyone know a way to get that call to the C# code


Thanks in advance,

Alfredo.


[1] http://www.swig.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090113/cae4d1c1/attachment.html 


More information about the Mono-devel-list mailing list