[Mono-list] strange mono initialization problem

Miguel de Icaza miguel@ximian.com
15 Aug 2002 17:11:08 -0400


Hello,

> My problem is, I'd like to use the mono runtime from within an plugin, but the 
> application must not depend on mono or the glib. 
> Is that not possible?
> Do I have a linker problem ?
> Should it work in theory, but a bug causes those troubles ? (How could I best 
> debug that)

Mhm, this is indeed not good.  But here is a suggestion: since the
plugin will be conditionally compiled, I am assuming you will have
conditional compilation anyways.

If you have conditional compilation based on Mono, you might as well,
directly link the Mono runtime with the editor at startup. 

I know it is sub-optimal, but it would only be a conditional dependency.

Miguel