[Mono-list] gdiplus

Peter petervyvey@village.uunet.be
Fri, 19 Mar 2004 19:28:19 +0100


Hello,

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 ()
--- End of inner exception stack trace ---

in (unmanaged) System.Windows.Forms.Control:.ctor ()
in <0x0000f> System.Windows.Forms.ScrollableControl:.ctor ()
in <0x0000a> System.Windows.Forms.ContainerControl:.ctor ()
in <0x00017> System.Windows.Forms.Form:.ctor ()
in <0x0000a> 
Microsoft.Samples.WinForms.Cs.SimpleHelloWorld.SimpleHelloWorld:.ctor ()
in <0x0004f> (wrapper remoting-invoke-with-check) 
Microsoft.Samples.WinForms.Cs.SimpleHelloWorld.SimpleHelloWorld:.ctor ()
in <0x0001b> 
Microsoft.Samples.WinForms.Cs.SimpleHelloWorld.SimpleHelloWorld:Main 
(string[])

There seems to be a 'user32.dll' missing. I found 'user32.dll.so' in /usr/lib/
wine, so I included this folder in LD_LIBRARY_PATH, but it didn't solve the 
problem.

Any other suggestions ?

Peter


Op vrijdag 19 maart 2004 19:08, schreef Miguel de Icaza:
> > Thanks Miguel,
> >
> > nope, mono-wine, where is winelib?
>
> Its listed on www.go-mono.com/download.html
>
> It is also all spelled out on the Mono Release Notes ;-)
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list