HI,
The embedding sample code uses mono_runtime_exec_managed_code. And then
loads the dlls inside the callback. This is a bit inconvenient for me and I
wonder if it would be a valid strategy to do like (simplified):
void main ()
{
domain = mono_jit_init ()
mono_thread_attach (domain)
mono_domain_assembly_open ()
mono_runtime_invoke
}
Instead of the way described in the mono embedded document:
void callback ()
{
mono_domain_assembly_open ()
mono_runtime_invoke
}
void main ()
{
mono_jit_init ()
mono_runtime_exec_managed_code (callback)
}
Joe Ante
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list