[Mono-dev] mono_config_parse

Robert Jordan robertj at gmx.net
Tue Aug 21 19:05:20 EDT 2007


Sebastian Good wrote:
> Thanks very much Robert, this certainly did the trick. All is now linkin 
> and even running but failing to find mscorlib, which suggests to me it 
> is time to call mono_config_parse. A couple of notes. The samples at 
> http://www.mono-project.com/Embedding_Mono do not have the proper 
> #include directive, which appears to be

I don't know why mono_config_parse () is failing, but if you're
trying to fix this one:

>    The assembly mscorlib.dll was not found or could not be loaded. It 
> should have been installed in the 
> 'c:\dev\ndi\InteropMonoEmbed\lib\mono\1.0\mscorlib.dll' directory.

you just need to call mono_set_dirs ():

mono_set_dirs ("c:/path/to/mono/lib", "c:/path/to/mono/etc");


More information about the Mono-devel-list mailing list