[Mono-winforms-list] Re: [Mono-list] Porting Windows Application

Peter Dennis Bartok peter at novonyx.com
Wed May 18 19:47:49 EDT 2005

Looks like you're missing the libgdiplus rpm. You need to install:
 http://www.go-mono.com/download/suse-93-i586/libgdiplus-1.1/1.1.7/libgdiplus-1.1.7-0.suse93.novell.i586.rpmAssuming you're still using Suse 9.3Cheers,  Peter-----Original Message-----From: "Paul Thompson" <pault at HiWAAY.net>To: "Peter Dennis Bartok" <peter at novonyx.com>Date: Wednesday, 18 May, 2005 15:12Subject: Re: [Mono-list] Porting Windows Application>Peter Dennis Bartok wrote:>> The error you're posting now is a different one than the first one.>> If you read it, you will see it tells you that it cannot find the>> libX11 library. My guess would be that you are missing the x11-devel>> rpm. Try using yast or red-carpet to install it, or, if you are>> familiar enough with Linux, you can also just create a symbolic link>> for libX11.so; for example, on my system it would be: "ln -s>> /usr/X11R6/lib/libX11.so.6.2 /usr/X11R6/lib/libX11.so">>>> Cheers, Peter>>Thanks>>If I create an application using GTK# on Linux, can I port the exe toWindows?>>> The error you're posting now is 
 a different one than th
e first one.>>True, I was hoping to add items to a simple form until a problem happened,and it did immediately>>> libX11 library.>>installed xorg-x11-devel and got different complaints,  below.>>Paul>>~/cs/test> mono WinTest.exe>Compat mode: the request from /home/pat/cs/test/WinTest.exe to loadSystem.Windows.Forms was remapped (http://www.go-mono.com/remap.html)>Compat mode: the request from /home/pat/cs/test/WinTest.exe to load Systemwas remapped (http://www.go-mono.com/remap.html)>>Unhandled Exception: System.TypeInitializationException: An exception wasthrown by the type initializer for System.Windows.Forms.XplatUI --->System.TypeInitializationException: An exception was thrown by the typeinitializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:gdiplus.dll>in <0x0004a> (wrapper managed-to-native)System.Drawing.GDIPlus:GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)>in <0x000bb> System.Drawing.GDIPlus:.cctor ()
 >*--- End of inner exce
ption stack trace ---*>>in (unmanaged) 0x80b3a5d>in <0x0000c> System.Drawing.Graphics:FromHdcInternal (intptr)>in <0x0005f> System.Windows.Forms.XplatUIX11:SetDisplay (intptr)>in <0x0009b> System.Windows.Forms.XplatUIX11:.ctor ()>in <0x00044> System.Windows.Forms.XplatUIX11:GetInstance ()>in <0x0004e> System.Windows.Forms.XplatUI:.cctor ()>*--- End of inner exception stack trace ---*>>in (unmanaged) 0x80b3a5d>in <0x000c4> System.Windows.Forms.Control:get_CreateParams ()>in <0x0020a> System.Windows.Forms.Control:.ctor ()>in <0x00014> FormParentWindow:.ctor (System.Windows.Forms.Form)>in <0x00029> (wrapper remoting-invoke-with-check) FormParentWindow:.ctor(System.Windows.Forms.Form)>in <0x00039> System.Windows.Forms.Form:get_CreateParams ()>in <0x0020a> System.Windows.Forms.Control:.ctor ()>in <0x0000d> System.Windows.Forms.ScrollableControl:.ctor ()>in <0x0000a> System.Windows.Forms.ContainerControl:.ctor ()>in <0x00010> System.Windows.Forms.Form:.ctor ()>in <0x00017> WinTest.
 Form1:.ctor ()>in <0x00
021> (wrapper remoting-invoke-with-check) WinTest.Form1:.ctor ()>in <0x0001a> WinTest.Form1:Main ()>>>>

More information about the Mono-winforms-list mailing list