Please look at the README in the mcs/class/System.Windows.Forms
directory. You will need to use the monostub WineLib application to
start your Windows.Forms application, make some changes to the
etc/mono/config file, and build Mono with garbage collection disabled. I
just checked in some changes recently to run with the latest Mono and
Wine releases.

I have to warn you though at this point there is still a lot of work to
do in the System.Windows.Forms namespace.

John

On Mon, 2003-02-03 at 19:50, Robert A. Wlodarczyk wrote:
> Hi,
> 
> I have a fresh installation of RedHat 8.0 with the latest build of mono and
> wine installed. I also have Windows 2000 installed on drive c, and have
> setup both wine and mono correctly. I have a simple .net forms test app that
> I'd like to run under mono. I have tried a number of things, but seem to be
> pulling me hair out at this stage.
> 
> 1) Tried 'wine mono SimpleWindow.exe' ==> returned "wine: cannot find
> 'mono'"
> 2) Tried mono SimpleWindow.exe ==> returned (just a small snippet of the
> errors… I’ve removed a lot of lines since they kept repeating.)
> ** (SimpleWindow.exe:1530): WARNING **: Failed to load library
> libcomctl32.dll.so (comctl32.dll): libcomctl32.dll.so: cannot open shared
> object file: No such file or directory 
> 
> ** (SimpleWindow.exe:1530): WARNING **: Failed to load library
> libuser32.dll.so (user32.dll): libuser32.dll.so: cannot open shared object
> file: No such file or directory
> 
> ** (SimpleWindow.exe:1530): WARNING **: Failed to load library
> libkernel32.dll.so (kernel32.dll): libkernel32.dll.so: cannot open shared
> object file: No such file or directory
> 
> Unhandled Exception: System.MissingMethodException: A missing method
> exception has occurred. in <0x00046> 06
> System.Windows.Forms.Win32:RegisterClass (System.Windows.Forms.WNDCLASS&) in
> <0x00127> 00 System.Windows.Forms.ScrollableControl:get_CreateParams () in
> <0x00012> 00 System.Windows.Forms.ContainerControl:get_CreateParams () in
> <0x00012> 00 System.Windows.Forms.Form:get_CreateParams () in <0x00062> 00
> System.Windows.Forms.Control:CreateHandle () in <0x00012> 00
> System.Windows.Forms.Form:CreateHandle () in <0x003db> 00
> System.Windows.Forms.Control:.ctor () in <0x00015> 00
> System.Windows.Forms.ScrollableControl:.ctor () in <0x00014> 00
> System.Windows.Forms.ContainerControl:.ctor () in <0x00043> 00
> System.Windows.Forms.Form:.ctor () in <0x00043> 00
> SimpleWindow.frmMain:.ctor () in <0x00024> 00 SimpleWindow.frmMain:Main ()
> 3) Looked at my /etc/mono/config file and it's like this: <configuration>
>         <dllmap dll="cygwin1.dll" target="libc.so.6" />
>         <dllmap dll="libc" target="libc.so.6" />
>         <dllmap dll="libxslt.dll" target="libxslt.so" />
>         <dllmap dll="libmySQL.dll" target="libmysqlclient.so" />
>         <dllmap dll="odbc32.dll" target="libodbc.so" />
>         <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so" />
>         <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so" />
>         <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0.so" />
>         <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so" />
>         <dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so" />
>         <dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk-pixbuf-2.0.so"
> />
>         <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
> </configuration>
> 
> Any ideas as to what to do here to get this to work? Any suggestions would
> be greatly appreciated!
> 
> Thanks,
> 
> Rob.
> 
> ______________________________________________________
> Robert A. Wlodarczyk
> [EMAIL PROTECTED]
> Windows Messenger: [EMAIL PROTECTED]
> (cell) 516.446.3319 - (home) 631.265.0609 - (fax) 631.724.5528
>  
> 
> 
> _______________________________________________
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to