[Mono-list] gdiplus
Miguel de Icaza
miguel@ximian.com
Fri, 19 Mar 2004 13:35:11 -0500
Hey,
> I have downloaded, compiled and installed 'wine-lib 0.1'. When I try to run
> the sample Pedro provide I get the following exception:
>
> Unhandled Exception: System.TypeInitializationException: An exception was
> thrown by the type initializer for System.Windows.Forms.Control --->
> System.DllNotFoundException: user32.dll
> in <0x00053> (wrapper managed-to-native)
> System.Windows.Forms.Win32:RegisterWindowMessage (string)
> in <0x000f1> System.Windows.Forms.Control:.cctor ()
You are getting closer. All you need are the symlinks that must have
been created for you.
Make sure you have something that looks like this in your library prefix
(must be on your LD_LIBRARY_PATH):
mono$ ls -l *32.dll*so
lrwxrwxrwx 1 miguel miguel 30 Mar 3 18:43 libadvapi32.dll.so -> /mono/lib/wine/advapi32.dll.so
lrwxrwxrwx 1 miguel miguel 30 Mar 3 18:43 libcomctl32.dll.so -> /mono/lib/wine/comctl32.dll.so
lrwxrwxrwx 1 miguel miguel 27 Mar 3 18:43 libgdi32.dll.so -> /mono/lib/wine/gdi32.dll.so
lrwxrwxrwx 1 miguel miguel 30 Mar 3 18:43 libkernel32.dll.so -> /mono/lib/wine/kernel32.dll.so
lrwxrwxrwx 1 miguel miguel 28 Mar 3 18:43 libuser32.dll.so -> /mono/lib/wine/user32.dll.so