[Mono-dev] Registering internal calls at runtime

MBoisse mboisse at noesisinnovation.net
Mon Jul 12 15:43:47 EDT 2010

Has there been any improvements regarding late registrations of internal
methods at runtime using "mono_add_internal_call"?

Would it make sense to load and register C functions in a dll from managed
code, and only then have the assembly referring to them loaded?

There are many scenarios in which the C functions we need to make calls to
aren't known at compile time of the embedding unmanaged code (ie mono.exe)
and therefore registrations can't be made before the call to mono_jit_exec
is made. However, most often the functions are known at the managed code
compile time.

Is P/Invoke still our only option?

Thanks for your assistance.
View this message in context: http://mono.1490590.n4.nabble.com/Registering-internal-calls-at-runtime-tp1527179p2286658.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list