[Mono-dev] Embedded Mono IImplementation question..

Roger Davenport rdavenpo at ticnet.com
Fri Jul 21 17:34:38 EDT 2006

Hi All, my first message to the list here.

Can anyone explain the best way to pass delegates into C (for later
callbacks) and later invoke them?

Currently, I it looks like I should create an extern static function (in
C#) which is hooked into the mono class using mono_add_internal_call (in
C).  I am guessing (from looking at the mono p/invoke functions) that it
will be just a regular function pointer?

How will this work with compound delegates?

I'm not using p/invoke - I'm using libmono.so to jit an exe file and
interact with it through the embedded mono functions.

Thanks in advance,

More information about the Mono-devel-list mailing list