[Mono-bugs] [Bug 81217][Wis] New - No Winform can be created: GDIPlus method not implemented

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Mar 23 08:55:27 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lionel_email at aulofee.com.


--- shadow/81217	2007-03-23 07:55:27.000000000 -0500
+++ shadow/81217.tmp.6439	2007-03-23 07:55:27.000000000 -0500
@@ -0,0 +1,83 @@
+Bug#: 81217
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: Fedora6 and ubuntu edgy
+Status: NEW   
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: lionel_email at aulofee.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: No Winform can be created: GDIPlus method not implemented 
+Description of Problem:
+On both Fedora6 and ubuntu (edgy), I cannot run this HelloWorld-like basic
+test application which just creates and displays a Form.
+I'm running with mono and libdgdiplus compiled from source (the former as
+of 2007/03/17, and the latter from the official 1.2.3 tar.gz)
+Steps to reproduce the problem:
+1. compile "Program.cs" (code below) with
+     gmcs -pkg:dotnet Program.cs
+   or mcs -pkg:dotnet Program.cs
+2. run it with mono Program.exe
+3. exception
+Exception message:
+type: 10 Not implemented
+Unhandled Exception: System.NotImplementedException: Feature not implemented.
+  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] 
+  at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00000] 
+  at System.Drawing.Image.LoadFromStream (System.IO.Stream stream, Boolean
+keepAlive) [0x00000] 
+  at System.Drawing.Icon.GetInternalBitmap () [0x00000] 
+  at System.Drawing.Icon.ToBitmap () [0x00000] 
+  at (wrapper remoting-invoke-with-check) System.Drawing.Icon:ToBitmap ()
+  at System.Windows.Forms.XplatUIX11.SetIcon (System.Windows.Forms.Hwnd
+hwnd, System.Drawing.Icon icon) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.SetIcon (IntPtr handle,
+System.Drawing.Icon icon) [0x00000] 
+  at System.Windows.Forms.XplatUI.SetIcon (IntPtr handle,
+System.Drawing.Icon icon) [0x00000] 
+  at System.Windows.Forms.Form.CreateHandle () [0x00000] 
+  at System.Windows.Forms.Control.CreateControl () [0x00000] 
+  at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] 
+  at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] 
+  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] 
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:set_Visible (bool)
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x00000] 
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
+mainForm) [0x00000] 
+  at WindowsApplication1.Program.Main () [0x00000] 
+How often does this happen? 
+Additional Information:
+The code for Program.cs is as follow:
+using System;
+using System.Windows.Forms;
+namespace testapp
+	static class Program
+	{
+		[STAThread]
+		static void Main()
+		{
+			Application.Run(new Form());
+		}
+	}

More information about the mono-bugs mailing list