[Mono-winforms-list] The operation is invalid [GDI+ status: Win32Error]
Sebastien Pouliot
sebastien at ximian.com
Thu Nov 22 07:46:48 EST 2007
Hello Andrus,
On Thu, 2007-11-22 at 12:02 +0200, Andrus wrote:
> Trying to open my application main form causes exception
> " The operation is invalid [GDI+ status: Win32Error]"
>
> Stack trace tells sometihng about animation.
> I do'nt use animation. I use standard toolstrip and menustrip with static
> icons. In .NET 2 it works.
This was already reported (twice #324733, #343342) and fixed in SVN
after preview 2. It only affects Win32.
> How to fix ?
Apply the patch (see first bug for SVN revision) and recompile.
Or wait for the next preview / release version of 1.2.6.
> Btw. Thanks for quickly fixing app.config bug.
> I hope that when I install todays monocharge I got this fix.
>
> Andrus.
>
> MONO 1.2.6 preview 2
> .NET 2 profile
> Windows XP
> VCSE 2005
>
> The operation is invalid [GDI+ status: Win32Error]
> Stack trace: at System.Drawing.GDIPlus.CheckStatus (Status status)
> [0x00000]
> at System.Drawing.Image.GetFrameCount
> (System.Drawing.Imaging.FrameDimension dimension) [0x00000]
> at (wrapper remoting-invoke-with-check) System.Drawing.Image:GetFrameCount
> (System.Drawing.Imaging.FrameDimension)
> at System.Drawing.ImageAnimator.CanAnimate (System.Drawing.Image image)
> [0x00000]
> at System.Windows.Forms.ToolStripItem.BeginAnimation () [0x00000]
> at System.Windows.Forms.ToolStripItem.set_Image (System.Drawing.Image
> value) [0x00000]
> at MyApp.Windows.Forms.MainForm.InitializeComponent () [0x00000]
> at MyApp.Windows.Forms.MainForm..ctor () [0x00000]
> at (wrapper remoting-invoke-with-check) MyApp.Windows.Forms.MainForm:.ctor
> ()
> at MyApp.AppMainEntry.MainLoop () [0x00000]
> at MyApp.AppMainEntry.Main () [0x00000]
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
More information about the Mono-winforms-list
mailing list