[Mono-winforms-list] The operation is invalid [GDI+ status:Win32Error]

Jonathan Pobst monkey at jpobst.com
Sat Nov 24 15:23:39 EST 2007


If you don't wish to build mono to get going again, you can download the 
daily monocharge at http://mono.ximian.com/daily/ and copy the 
System.Drawing.dll to your mono gac (make sure to use the right 1.1/2.0 
version).

Jon

Andy Hume wrote:
> This must be the most 'popular'(!) bug ever. :-,)  That's four of us
> reported it now -- including me.  See the first report at
> https://bugzilla.novell.com/show_bug.cgi?id=342733 (followed by 343342
> and 343839).
>
> It's fixed in SVN, including in the 1.2.6 branch, and will thus be
> included in the next preview/release.  To continue my testing for now
> I've switched my code check-out to the 1.2.6 branch and built the
> product myself.
>
> Andy
>
>
>   
>> -----Original Message-----
>> From: mono-winforms-list-bounces at lists.ximian.com 
>> [mailto:mono-winforms-list-bounces at lists.ximian.com] On 
>> Behalf Of Andrus
>> Sent: 21 November 2007 19:04
>> To: Mono-winforms-list at lists.ximian.com
>> Subject: [Mono-winforms-list] The operation is invalid [GDI+ 
>> status:Win32Error]
>>
>> Trying to open my application main form causes exception.
>>
>> Stack trace tells sometihng about animation.
>> I do'nt use animation. I use standard toolstrip and menustrip 
>> with static icons.
>>
>> How to 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
>>     
>
> _______________________________________________
> 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