[Mono-dev] Web service client - SendOrPostCallback could notbeloaded
Kornél Pál
kornelpal at gmail.com
Fri Jul 7 14:11:49 EDT 2006
mono_jit_init takes a file name. If you pass the name of a file that has
"v2.0.50727" in it's header the runtime should load mscorlib.dll version
2.0.0.0. Make sure that the assembly has the correct version number in it's
header for example using corflags.exe.
If problem is still there please send some code (don't has to be your full
code, in fact a small piece is better) that produces the problem and can be
compiled without modifications. Because we can't guess what the problem is
without actual source code.
Kornél
----- Original Message -----
From: "Janne Rantala" <janne.rantala at gmail.com>
To: <mono-devel-list at lists.ximian.com>
Sent: Friday, July 07, 2006 7:23 PM
Subject: Re: [Mono-dev] Web service client - SendOrPostCallback could
notbeloaded
2006/7/7, Kornél Pál <kornelpal at gmail.com>:
>
> Use mono_init_version () to initialize the runtime with a specific runtime
> version.
> If you initialize the runtime using an assembly you should compile it with
> the appropriate version of the compiler or use .config files to specify
> the
> runtime version.
>
> Use either "v1.1.4322" or "v2.0.50727" for the runtime version.
>
> Kornél
>
>
It seems that when I create domain with mono_init_version,
default_mono_runtime_invoke in mono_runtime_invoke points to
dummy_mono_runtime_invoke which causes that error I mentioned. But If domain
is created with mono_jit_init, default_mono_runtime_invoke points to
mono_jit_runtime_invoke.
Hope this helps,
Janne
--------------------------------------------------------------------------------
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
More information about the Mono-devel-list
mailing list