Using mono 1.1.6, I tried running a simple basic windows form and got the following.
# mono monotest.exe Mono System.Windows.Forms Assembly [Revision: 41731; built: 2005/2/15 5:56:12] Keyboard: VNC keyboard layout Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.NullReferenceException: Object reference not set to an instance of an object in <0x00000> <unknown method> in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipGetGenericFontFamilySansSerif (intptr&) in <0x00030> System.Drawing.FontFamily:get_GenericSansSerif () in <0x00218> System.Windows.Forms.ThemeWin32Classic:.ctor () in <0x000c8> System.Windows.Forms.ThemeEngine:.cctor ()--- End of inner exception stack trace --- in <0x00000> <unknown method> in <0x00004> System.Windows.Forms.Label:get_DefaultSize () in <0x00164> System.Windows.Forms.Control:.ctor () in <0x00010> System.Windows.Forms.Label:.ctor () in (wrapper remoting-invoke-with-check) System.Windows.Forms.Label:.ctor () in <0x0002c> MonoHelloWorld.Form1:InitializeComponent () in <0x00018> MonoHelloWorld.Form1:.ctor () in (wrapper remoting-invoke-with-check) MonoHelloWorld.Form1:.ctor () in <0x00028> MonoHelloWorld.Form1:Main () Any ideas what the problem could be or if mono has a bug that can be fixed? Thanks Doug _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list