[Mono-list] Mono draw image error?

eschneider at schneidersoft.com eschneider at schneidersoft.com
Wed Jan 23 22:54:22 EST 2008


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/20080123/b0933f2c/attachment-0001.html 


More information about the Mono-list mailing list