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

Martin Tapp tappm@cae.com
Fri, 17 Sep 2004 09:13:55 -0400


Thanks for the info, I'll look into that!

Martin 

-----Original Message-----
From: Jordi Mas
To: Martin Tapp
Cc: 'mono-winforms-list@lists.ximian.com'
Sent: 9/17/04 9:09 AM
Subject: Re: [Mono-winforms-list] System.Windows.Forms.Win32:WineLoadLibrary
throws NullReferenceEx ception for gdi32 (winelib.exe.so IS found)

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:14
30
> 
>   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:

Martin,

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
it.

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.

Jordi,