[Mono-dev] using coreclr in mono embedding sample project

Lucas Meijer lucas at lucasmeijer.com
Mon Jun 15 09:31:59 EDT 2009


> On Sun, 2009-06-14 at 01:34 +0200, Lucas Meijer wrote:
>   
>> Hey,
>>
>> In order to figure out how to properly use the new coreclr 
>> functionality, verifiers etc, I've taken the
>> test-metadata.c  sample that shows how to simply embed mono,  and I'm 
>> adding some coreclr stuff to it.
>>
>> The sample works and runs fine with core clr disabled.
>>
>> If I add:
>>
>> mono_security_enable_core_clr ();
>>     
As Sebastien pointed out offlist, I should have added here that I 
actually also call mono_security_set_core_clr_platform_callback.  The 
function
provided however never gets called.  I guess I was a bit overzealous in 
making a as-minimal-as-I-can reprocase.

Bye, Lucas


More information about the Mono-devel-list mailing list