AW: [Mono-winforms-list] An annoying problem

Matthias Felgner matthiasf at
Thu Jun 9 04:19:37 EDT 2005


I did everything as suggested, still no luck, I'm stuck here with this Problem...System.DLLNotFoundException doesn't even tell me which dll was not found...

On execution of any SWF App I get the following...can somebody please explain to me what is going on with this, and where the problem could be? I can't really follow the code in XPlatUI and XPlatUIX11...

Mono System.Windows.Forms Assembly [Revision: 44786; built: 2005/5/25 22:34:45]

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.DllNotFoundException:
in (wrapper managed-to-native) System.Windows.Forms.XplatUIX11:XInitThreads ()
in <0x0006f> System.Windows.Forms.XplatUIX11:.ctor ()
in <0x0003f> System.Windows.Forms.XplatUIX11:GetInstance ()
in <0x00061> System.Windows.Forms.XplatUI:.cctor ()--- End of inner exception stack trace ---

in <0x00000> <unknown method>
in <0x00049> System.Windows.Forms.Form:get_CreateParams ()
in <0x0022f> System.Windows.Forms.Control:.ctor ()
in <0x00011> System.Windows.Forms.ScrollableControl:.ctor ()
in <0x00010> System.Windows.Forms.ContainerControl:.ctor ()
in <0x00010> System.Windows.Forms.Form:.ctor ()
in <0x00017> MWFTest.Form1:.ctor ()
in (wrapper remoting-invoke-with-check) MWFTest.Form1:.ctor ()
in <0x0001a> MWFTest.Form1:Main ()



-----Ursprüngliche Nachricht-----
Von: mono-winforms-list-bounces at [mailto:mono-winforms-list-bounces at] Im Auftrag von Peter Dennis Bartok
Gesendet: Mittwoch, 8. Juni 2005 22:54
An: Paul Johnson; winforms
Betreff: Re: [Mono-winforms-list] An annoying problem

Paul, et. al.,

Ben thinks he's got the right fix in svn now, so if you update from svn and 
do the whole autogen/configure thing again, it should put the proper line 
into the config file now.


-----Original Message-----
From: "Paul Johnson" <paul at>
To: "winforms" <mono-winforms-list at>
Date: 08 June, 2005 08:42
Subject: [Mono-winforms-list] An annoying problem

>Whenever I try to run a program compiled against MWF, I keep getting the
>same error
>Unhandled Exception: System.TypeInitializationException: An exception
>was thrown by the initializer for System.Windows.Forms.XplatUI --->
>I know this has come up before and from what I remember when Miguel
>flagged it up was that there was a problem within XplatUI.
>Is there a work around or will XplatUI be getting fixed sometime in the
>not too distant future?
>"He's not the Messiah, he's a very naughty boy"
>- Life of Brian, Monty Python
>Mono-winforms-list maillist  -  Mono-winforms-list at

Mono-winforms-list maillist  -  Mono-winforms-list at

More information about the Mono-winforms-list mailing list