Hey, On 4/18/09, fozzie <[email protected]> wrote: > I see.. so this means i can only call mono_jit_init(file) once? Or is there > another way to initialize the runtime then run multiple files? Suppose i > want to run them in separate domains? If there is a reference you can point > me to it would be appreciated so that i can read further and stop bugging > you.
Heh, you're not bugging anyone. As Rodrigo say, you should only call mono_jit_init once, then it should only be a matter of running the appropriate entry point method of each assembly. I suggest you do as much as possible in the managed code, but if you absolutely need to do things in the unmanaged side, you can read how we do it in Moonlight here: http://anonsvn.mono-project.com/viewvc/trunk/moon/src/deployment.cpp?revision=HEAD&content-type=text%2Fplain Some functions are pretty new for creating domains in the unmanaged, you may need a recent Mono if you can't do it in the managed side. -- Jb Evain <[email protected]> _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
