[Mono-list] How does mono translated into C++ Native Code in Linux
kumpera at gmail.com
Sun Sep 16 18:05:46 UTC 2012
P/invoke can only call C functions, so you need to wrap it an "extern C"
Beyond that, mono will not marshal the AutoReset Event into something
usable to you,
so my suggestion is to pass a delegate that does it for you.
On Fri, Sep 14, 2012 at 4:33 PM, John Chen <johnxhc at gmail.com> wrote:
> I need to call Natvie Linux C++ code with a Pinvoke and passing a AutoReset
> Event, my problem is I do not know what Mono translate the AutoReset Event
> handler . I need to find out how to be able to signal the AutoReset Event
> from C++.
> Please advice.
> Thanks in advice.
> View this message in context:
> Sent from the Mono - General mailing list archive at Nabble.com.
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list