[Mono-winforms-list] Re: [Mono-winforms-list] System.Windows.Forms.Win32:WineLoadLibrary throws NullReferenceEx ception for gdi32 (winelib.exe.so IS found)

Jordi Mas jordi@ximian.com
Fri, 17 Sep 2004 15:09:19 +0200

El divendres 17 de setembre del 2004 a les 09:02 -0400, en/na Martin
Tapp va escriure:
> Hi,
> I've installed wine and everything seems to work fine (notepad and all
> work).
> I'm unable to make any windows forms app running, even the sample provided
> in mcs/class/System.Windows.Forms/Samples/Form1.exe fails.  All compile,
> winelib.exe.so is found,
> but the line in
> mcs/class/System.Windows.Forms/System.Windows.Forms/win32functions.cs:1430
>   WineLoadLibrary("gdi32.dll");
> always throws a null reference exception.  Any idea what is wrong?
> Here is the output (I'm under Red Hat 9, Kernel 2.4.20, gcc 3.2.2, mono
> snapshot 14-Sep-04:


System.Windows.Forms in officially an unsupported namespace because it
is not complete it. 

We have abandoned the idea of using Wine to implement SWF and we have
stopped any development on that direction. Now, there is an ongoing
effort implementing it natively using C# and System.Drawing.
Unfortunately, we are working hard on it but is far from been complete

My advice is not to waste time trying with the old Wine implementation
and start playing with the new effort that lives in Managed.Windows.
Forms directory.