Yes, indeed you're correct. I updated my libgdiplus from 1.2.2 to 1.2.3 yesterday and the problem went away immediately.
-----Original Message----- From: Sebastien Pouliot [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 9:48 AM To: Maser, Dan Cc: mono-winforms-list@lists.ximian.com Subject: Re: [Mono-winforms-list] Getting the latest winforms code to run onlinux Hello Dan, It is a message from libgdiplus (*) As a general rule you cannot update SWF without updating System.Drawing, and you cannot update System.Drawing without updating libgdiplus. While you can break this rule 90% of the time, you'll end up (10%) in hard to diagnose bugs (or cosmetic issues) that no one else can duplicate. Once there it's easy to lose much more time finding the (non-)bugs than to update everything, every time. (*) In this case the message means it could not decode an image. From the stacktrace I'm pretty sure this is due to an old libgdiplus that didn't implement the ICO codec with a newer System.Drawing.dll (that no longer use managed code for this task). On Mon, 2007-03-26 at 16:13 -0500, Jonathan Pobst wrote: > Hey Dan, > > I think this is reported by libgdiplus. It means that one of the image > libraries is missing. When I got this error, I installed libpng, > libgif, and libtiff libraries, then reran the autogen/make steps for > libgdiplus. (Those may not be the exact libraries from memory, whatever > ones the autogen step of libgdiplus tells you that you are missing at > the end.) > > Jonathan > > > Maser, Dan wrote: > > > > I downloaded the 03/25/2007 daily tarball and updated my system with > > it. In the past I've also had to hack in a handful of methods that > > weren't implemented yet with stub implementations (which I did rather > > than change the source to omit them). However, with the latest build > > I'm getting a "not impl" error that isn't clear what change is needed, > > nor clear what code of mine I can comment out. Any ideas with locating > > this error are appreciated! I think this used to work with the > > previous mono build I had since it doesn't look like a familiar error to me. > > > > > > 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 ININ.LogViewer.Program.Main (System.String[] Args) [0x00000] > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-winforms-list > > _______________________________________________ > Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-winforms-list -- Sebastien Pouliot <[EMAIL PROTECTED]> Blog: http://pages.infinit.net/ctech/ _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list