Hello, I'm trying the latest mono and I get the below error when running on Mono 2.4 & WIN XPSP3.
Looks like it has something to do with drawing or bitmaps. The Program runs fine in Windows/MS.NET. I also tested the app on MOMA, it did not show anything for this. Maybe there is a easy work around or a different overload I could call? Thanks, Eric C:\Documents and Settings\eschneider>mono --debug E:\SchneiderSoftware\SchneiderSoft.UIControls\TestApp\bin\Debug\TestApp.exe System.InvalidOperationException: The operation is invalid [GDI+ status: Win32Error] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00229] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Drawing\System .Drawing\gdipFunctions.cs:255 at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, Int32 x, Int32 y, Int32 width, Int32 height) [0x00029] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Drawing\System .Drawing\Graphics.cs:783 at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:DrawImage (System.Drawing.Image,int,int,int,int) at System.Drawing.Bitmap..ctor (System.Drawing.Image original, Int32 width, Int32 height) [0x00014] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Drawing\System .Drawing\Bitmap.cs:154 at System.Drawing.Bitmap..ctor (System.Drawing.Image original) [0x00000] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\build\common\Consts.cs:1 at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (System.Drawing.Image) at SchneiderSoft.UIControls.ImageAssociatedHelper.get_Image () [0x00000] at SchneiderSoft.UIRenderers.FactoryRenderers.CreateButtonRendererArguments (IButton button) [0x00000] at SchneiderSoft.UIControls.Button.CreateControlRendererArguments () [0x00000] at SchneiderSoft.UIControls.Button.CreateListRendererArguments () [0x00000] at SchneiderSoft.UIControls.Button.CreateListRendererState () [0x00000] at SchneiderSoft.UIRenderers.VisualListRenderer.CreateItemRendererState (IRendererListArguments renderArgs, System.Object value, Boolean isLastItem) [0x00000] at SchneiderSoft.UIRenderers.VisualListRenderer.CreateRenderList (IRendererListArguments renderArgs) [0x00000] at SchneiderSoft.UIRenderers.VisualListRenderer.DrawList (IRendererListArguments renderArgs) [0x00000] at SchneiderSoft.UIRenderers.VisualListRenderer.OnDraw (IRendererArguments renderArgs) [0x00000] at SchneiderSoft.UIRenderers.ControlRenderer.Draw (IRendererArguments renderArgs) [0x00000] at SchneiderSoft.UIControls.VisualList.OnPaint (System.Windows.Forms.PaintEventArgs e) [0x00000] at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x0008a] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Managed.Windows.Forms \System.Windows.Forms\Control.cs:5561 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0016c] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Managed.Windows.Forms \System.Windows.Forms\Control.cs:5319 at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Managed.Windows.Forms \System.Windows.Forms\Control.cs:234 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\cl ass\Managed.Windows.Forms\System.Windows.Forms\Control.cs:215 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00085] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Managed.Windows.Forms \System.Windows.Forms\NativeWindow.cs:242
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
