Re: [Mono-list] Embedding two assemblies in Mono gives emits NullPointerException

2010-09-13 Thread petermonsson
Hi Robert, Thanks for the quick reply. > I fail to see where you "embed" 2 assemblies. Do you mean > loading 2 assemblies and executing code from them? Yes, that is what I meant. > Storing a MonoObject* outside the GC-controlled memory area is > a serious bug. You want to store a GC handle of

Re: [Mono-list] Embedding two assemblies in Mono gives emits NullPointerException

2010-09-13 Thread Robert Jordan
On 13.09.2010 13:28, petermonsson wrote: > > Hi all, > > I'm trying to embed two different assemblies into my mono application. > Embedding just either of them is no problem, but when I try to embed both, I > get a NullPointerException. I fail to see where you "embed" 2 assemblies. Do you mean loa

Re: [Mono-list] Embedding two assemblies in Mono gives emits NullPointerException

2010-09-13 Thread petermonsson
Whoops, I cut that email short. I'm using Mono version 2.4.2.3. The two assemblies are compiled by different Visual Studio 2008 Express copies (maybe with different patch sets), but both should be some version of .NET 2.0. Any Ideas? Thanks in advance Peter -- View this message in context:

[Mono-list] Embedding two assemblies in Mono gives emits NullPointerException

2010-09-13 Thread petermonsson
Hi all, I'm trying to embed two different assemblies into my mono application. Embedding just either of them is no problem, but when I try to embed both, I get a NullPointerException. Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at M