Hi, Supporting this would be a _lot_ of work, the most basic problem is that the runtime depends on non-automatic C variables being 0 initialized on startup. You can support this in your app by putting the runtime into a linux shared library (.so) and loading/unloading the shared library yourself using dlopen/dlclose.
Zoltan On Fri, May 13, 2011 at 11:56 AM, MartinAlexander < martin.arvids...@gmail.com> wrote: > Hello, > > Calling mono_jit_init several times is not supported as discussed in other > forum posts, but my question is why? > > Is it a bug that have plans to be solved? > Or is it a problem with the Linux architecture? > > My problem is that I am writing a DLL which is called from an closed-source > commercial application with calls like OnInit, OnUninit, OnThis, OnThat and > so on. This application has a reload/restart function which unloads the DLL > completely and then starts it again. On Windows this works, but not on > Linux. > > Thanks! > > -- > View this message in context: > http://mono.1490590.n4.nabble.com/Embedding-Mono-multiple-calls-to-mono-jit-init-tp3519842p3519842.html > Sent from the Mono - Dev mailing list archive at Nabble.com. > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list >
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list