[Mono-dev] Embedding Mono
robertj at gmx.net
Fri Mar 18 07:01:04 EDT 2011
On 18.03.2011 11:48, vinay_rk wrote:
> While mono_jit_init gets a valid looking pointer, the
> mono_domain_assembly_open returns a null pointer. Is this because of
> something I did wrong with the mono.lib I' am linking against.. ? I created
> the Mono.lib using the mono.def file and with the command: lib /nologo
> /def:mono.def /out:mono.lib /machine:x86. should I ensure the mono.def file
> is copied in some particular directory amongst the mono framework
> installation (directory structure) ?
> PS: If I try un-commenting the calls to either mono_config_parse or
> mono_set_dirs, then the mono_jit_init crashes without any particular
You need to call mono_set_dirs under Windows. And
mono_config_parse(NULL) must be called *after* mono_set_dirs.
> This is looking like a complete dead end as of now.. !
This stuff is known to work just fine... As long as you
don't post a self-contained test case for these issues,
no one will be able to help you.
More information about the Mono-devel-list