[Mono-winforms-list] How to send XEvent (using xlib) from native C++ code to mono .NET code (on Linux)?

Rafael Teixeira monoman at gmail.com
Thu Nov 13 07:57:49 EST 2008


Seems like doing a C-wrapper to be called via P/Invoke is the easier path to
do what you want: have a single managed binary and two native [C/C++]
binaries.

C++.NET and specially mixed-mode assemblies aren´t supported in mono, as
they break architecture/platform cross-portability.

Hope it helps,

On Wed, Nov 12, 2008 at 8:18 PM, kemo Kemic <k.kemic at yahoo.com> wrote:

> <mono-winforms-list at lists.ximian.com>I am using .NET for user interface
> development. C++ is used for numerical computation. In some cases it
> required to send some notifications from C++ to managed .NET code. On
> windows it is clear how to create it (and it is implemented). Could someone,
> please,  help me how to solve this issue on Linux? I need the C++ part and
> also how to catch the message on .NET side. I am also wondering if it is
> possible to make .NET code once, without recompiling on Linux (basically I
> will have two different C++ binaries and one .NET for all platforms).
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"I myself am made entirely of flaws, stitched together with good
intentions."
Augusten Burroughs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20081113/9a62c591/attachment-0001.html 


More information about the Mono-winforms-list mailing list