[Mono-winforms-list] running a win32 winforms app
Ryan Underwood
nemesis-lists@icequake.net
Sat, 14 Jun 2003 18:16:41 -0500
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