[Mono-winforms-list] running a win32 winforms app

Alexandre Pigolkine pigolkine@gmx.de
Sun, 15 Jun 2003 21:58:21 +0200


I would recommend to get current CVS version of Mono runtime and
class libraries. As I remember, some important changes were made to SWF
since 0.24 release.

If you need more information, IMO here is a good description of how to run
applications on Mono with WineLib:
see section "Patching wine to get System.Windows.Forms working".

Alexandre Pigolkine

----- Original Message ----- 
From: "Ryan Underwood" <nemesis-lists@icequake.net>
To: <mono-winforms-list@lists.ximian.com>
Sent: Sunday, June 15, 2003 1:16 AM
Subject: [Mono-winforms-list] running a win32 winforms app

> Hi,
> I have this silly win32-built .net windows.forms application (setup.exe)
> which is a menu frontend to a program that a client uses.  I am trying
> to get it to run under mono.  I have installed the debian unstable
> versions of mono 0.24 packages, and I try to execute the program like:
> $ mono setup.exe
> This complains about tons of missing libuser32.dll.so and such.
> Searching the mailing lists indicated that I needed to add some lines to
> /etc/mono/config:
> <dllmap dll="user32.dll" target="user32.dll.so" />
> <dllmap dll="kernel32.dll" target="kernel32.dll.so" />
> <dllmap dll="gdi32.dll" target="gdi32.dll.so" />
> <dllmap dll="shell32.dll" target="shell32.dll.so" />
> <dllmap dll="comctl32.dll" target="comctl32.dll.so" />
> But afterwards, instead of looking for e.g. user32.dll.so as would make
> sense, it looks for libuser32.dll.so.so instead.  Even more wrong! :)
> So, I make symbolic links in /usr/lib/wine with lib*.dll.so pointing to
> *.dll.so, and export LD_LIBRARY_PATH=/usr/lib/wine, and run mono.  Then,
> it gives no dll errors but immediately gives a null exception and stops,
> until I press Ctrl-C.
> So, anyone have any ideas about the proper procedure to follow or where
> I goofed up? :)
> Thanks,
> -- 
> Ryan Underwood, <nemesis at icequake.net>, icq=10317253
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list