[Mono-list] Creating new appdomain in mono embedding
Salamat, Babak
salamat at qualcomm.com
Thu Aug 11 18:43:40 EDT 2011
Thank you very Robert. That solved my problem.
Babak
On Aug 11, 2011, at 1:59 PM, Robert Jordan wrote:
> You must explicitly set the app domain before invoking any methods
> on the object:
>
> MonoDomain *old_domain = mono_domain_get ();
> mono_domain_set (xyz_domain);
> mono_runtime_invoke(ctorMethod, xyz_object, args, NULL);
> mono_domain_set (old_domain);
>
> Robert
>
More information about the Mono-list
mailing list