[Mono-list] Mono draw image error?

eschneider at schneidersoft.com eschneider at schneidersoft.com
Mon Jan 28 21:47:04 EST 2008


Still seems to be broke. I can't image I am doing anything special.

 

 

E:\AAAA-Controls\Products_SS\SchneiderSoft.UIControls\TestApp\bin\Debug>mono
.exe

 --debug testapp.exe

 

Unhandled Exception: System.InvalidOperationException: The operation is
invalid

[GDI+ status: Win32Error]

at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status) [0x00229] in
C:\cy

gwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\System.Drawing\System.Dr
awin

g\gdipFunctions.cs:236

at System.Drawing.Graphics.DrawImage (System.Drawing.Image,int,int,int,int)
[0x0

0029] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\System.Drawing

\System.Drawing\Graphics.cs:776

at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawImage
(Syste

m.Drawing.Image,int,int,int,int) <0x0009f>

at System.Drawing.Bitmap..ctor (System.Drawing.Image,int,int) [0x00014] in
C:\cy

gwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\System.Drawing\System.Dr
awin

g\Bitmap.cs:134

at System.Drawing.Bitmap..ctor (System.Drawing.Image) [0x00000] in
C:\cygwin\tmp

\monobuild\build\BUILD\mono-1.2.6\mcs\class\System.Drawing\System.Drawing\Bi
tmap

.cs:88

at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap..ctor
(System.Draw

ing.Image) <0x00029>

at SchneiderSoft.UIControls.ImageAssociatedHelper.get_Image () <0x0010d>

at SchneiderSoft.UIRenderers.FactoryRenderers.CreateRendererButtonArguments
(Sch

neiderSoft.AbstractInterfaces.IButton) <0x000a4>

at SchneiderSoft.UIControls.Button.CreateControlRendererArguments ()
<0x00029>

at SchneiderSoft.UIControls.Button.CreateListRendererArguments () <0x00011>

at SchneiderSoft.UIControls.Button.CreateListRendererState () <0x00055>

at SchneiderSoft.UIRenderers.RendererVisualList.CreateItemRendererState
(Schneid

erSoft.AbstractInterfaces.IRendererListArguments,object) <0x0011b>

at SchneiderSoft.UIRenderers.RendererVisualList.CreateRenderList
(SchneiderSoft.

AbstractInterfaces.IRendererListArguments) <0x00762>

at SchneiderSoft.UIRenderers.RendererVisualList.DrawList
(SchneiderSoft.Abstract

Interfaces.IRendererListArguments) <0x0001b>

at SchneiderSoft.UIRenderers.RendererVisualList.OnDraw
(SchneiderSoft.AbstractIn

terfaces.IRendererArguments) <0x0008a>

at SchneiderSoft.UIRenderers.RendererUIControlBase.Draw
(SchneiderSoft.AbstractI

nterfaces.IRendererArguments) <0x00027>

at SchneiderSoft.UIControls.VisualList.OnPaint
(System.Windows.Forms.PaintEventA

rgs) <0x009c1>

at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message&)
[0x0005e

] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Fo

rms\System.Windows.Forms\Control.cs:5226

at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&)
[0x0016c

] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Fo

rms\System.Windows.Forms\Control.cs:4993

at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) [0x00000]
in C:

\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms
\Sys

tem.Windows.Forms\Control.cs:225

at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) [0x00000] in
C:\c

ygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\S
yste

m.Windows.Forms\Control.cs:206

at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,in

tptr,intptr) [0x0006a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\cla

ss\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:188

at System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Form

s.Msg,intptr,intptr) [0x0002c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6

\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:1886

at (wrapper native-to-managed)
System.Windows.Forms.XplatUIWin32.InternalWndProc

 (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00065>

at (wrapper managed-to-native)
System.Windows.Forms.XplatUIWin32.Win32DispatchMe

ssage (System.Windows.Forms.MSG&) <0x00004>

at System.Windows.Forms.XplatUIWin32.DispatchMessage
(System.Windows.Forms.MSG&)

 [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.W

indows.Forms\System.Windows.Forms\XplatUIWin32.cs:2081

at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&)
[0x0

0000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Window

s.Forms\System.Windows.Forms\XplatUI.cs:551

at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.Applicati

onContext) [0x00359] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class

\Managed.Windows.Forms\System.Windows.Forms\Application.cs:844

at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext

) [0x00014] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.

Windows.Forms\System.Windows.Forms\Application.cs:630

at System.Windows.Forms.Application.Run (System.Windows.Forms.Form)
[0x00000] in

 
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\

System.Windows.Forms\Application.cs:618

at TestApp.FormMain.Main () <0x0001b>

 

 

E:\AAAA-Controls\Products_SS\SchneiderSoft.UIControls\TestApp\bin\Debug>

 

  _____  

From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of
eschneider at schneidersoft.com
Sent: Wednesday, January 23, 2008 9:54 PM
To: mono-list at lists.ximian.com
Subject: [Mono-list] Mono draw image error?

 

Look like Mono draw image error?

E:\AAAA-Controls\Products_SS\SchneiderSoft.UIControls\TestApp\bin\Debug>mono
.exe

 --debug testapp.exe

Unhandled Exception: System.InvalidOperationException: The operation is
invalid

[GDI+ status: Win32Error]

at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status) [0x00229] in
C:\cy

gwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\System.Drawing\System.
Draw

ing\gdipFunctions.cs:236

at System.Drawing.Graphics.DrawImage (System.Drawing.Image,int,int,int,int)
[0x0

002a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\System.Drawi

ng\System.Drawing\Graphics.cs:771

at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawImage
(Syste

m.Drawing.Image,int,int,int,int) <0x0009f>

at System.Drawing.Bitmap..ctor (System.Drawing.Image,int,int) [0x00014] in
C:\cy

gwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\System.Drawing\System.
Draw

ing\Bitmap.cs:126

at System.Drawing.Bitmap..ctor (System.Drawing.Image) [0x00000] in
C:\cygwin\tmp

\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\System.Drawing\System.Drawing\
Bitm

ap.cs:80

at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap..ctor
(System.Draw

ing.Image) <0x00029>

at SchneiderSoft.UIControls.ImageAssociatedHelper.get_Image () <0x0010d>

at SchneiderSoft.UIRenderers.FactoryRenderers.CreateRendererButtonArguments
(Sch

neiderSoft.AbstractInterfaces.IButton) <0x000bc>

at SchneiderSoft.UIControls.Button.CreateControlRendererArguments ()
<0x00029>

at SchneiderSoft.UIControls.Button.CreateListRendererArguments () <0x00011>

at SchneiderSoft.UIControls.Button.CreateListRendererState () <0x00055>

at SchneiderSoft.UIRenderers.RendererList.CreateItemRendererState
(SchneiderSoft

.AbstractInterfaces.IRendererListArguments,object) <0x0012b>

at SchneiderSoft.UIRenderers.RendererList.CreateRenderList
(SchneiderSoft.Abstra

ctInterfaces.IRendererListArguments) <0x0072a>

at SchneiderSoft.UIRenderers.RendererList.DrawList
(SchneiderSoft.AbstractInterf

aces.IRendererListArguments) <0x0001b>

at SchneiderSoft.UIRenderers.RendererList.OnDraw
(SchneiderSoft.AbstractInterfac

es.IRendererArguments) <0x000e6>

at SchneiderSoft.UIRenderers.RendererUIControlBase.Draw
(SchneiderSoft.AbstractI

nterfaces.IRendererArguments) <0x00040>

at SchneiderSoft.UIControls.VisualList.OnPaint
(System.Windows.Forms.PaintEventA

rgs) <0x00715>

at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message&)
[0x00083

] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\Managed.Windows.

Forms\System.Windows.Forms\Control.cs:5177

at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&)
[0x0016c

] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\Managed.Windows.

Forms\System.Windows.Forms\Control.cs:4949

at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) [0x00000]
in C:

\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\Managed.Windows.For
ms\S

ystem.Windows.Forms\Control.cs:224

at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) [0x00000] in
C:\c

ygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\Managed.Windows.Forms
\Sys

tem.Windows.Forms\Control.cs:205

at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,in

tptr,intptr) [0x0006b] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\c

lass\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:183

at System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Form

s.Msg,intptr,intptr) [0x0002d] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5

.2\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:1859

at (wrapper native-to-managed)
System.Windows.Forms.XplatUIWin32.InternalWndProc

 (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0004d>

in (unmanaged) 7D9472D7

at (wrapper managed-to-native)
System.Windows.Forms.XplatUIWin32.Win32DispatchMe

ssage (System.Windows.Forms.MSG&) <0x00004>

at System.Windows.Forms.XplatUIWin32.DispatchMessage
(System.Windows.Forms.MSG&)

 [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\Managed

.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:2054

at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&)
[0x0

0000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\Managed.Wind

ows.Forms\System.Windows.Forms\XplatUI.cs:540

at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.Applicati

onContext) [0x0037c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\cla

ss\Managed.Windows.Forms\System.Windows.Forms\Application.cs:747

at System.Windows.Forms.Application.Run (System.Windows.Forms.Form)
[0x00000] in

 
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\Managed.Windows.F
orm

s\System.Windows.Forms\Application.cs:534

at TestApp.FormMain.Main () <0x0001b>

 

E:\AAAA-Controls\Products_SS\SchneiderSoft.UIControls\TestApp\bin\Debug>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080128/baef0aaa/attachment-0001.html 


More information about the Mono-list mailing list