[Mono-winforms-list] Re: [Mono-list] Mono - SWF/Wine/OpenLib
Miguel de Icaza
miguel@ximian.com
24 Jul 2003 11:08:42 -0400
Hello,
> May be System.Drawing is the reason for NullReferenceException.
> Default implementation is Xr, but SWF expects it to
> be Win32. Did you try to "export SystemDrawingImpl=Win32Impl"
> before running the MenuTest.exe ?
>
> Is it possible to get the packages ?
> I would really like to test them.
I made a change: if you use Windows.Forms, it will set automatically a
flag to use the Win32-based System.Drawing implementation.
Also, we found that most samples on CVS try to PInvoke into Win32. This
fails unless you have executed the static constructor in
win32functions.cs (this is done implicitly when you use Win32 apis).
We should get better SWF samples in place instead of those that are
PInvoking to start with.
Mind if I commit your samples to CVS?
Miguel