Wed, 27 Oct 2004 01:24:41 -0600
You also need to set your $LD_LIBRARY_PATH to include the directory
where libgdiplus.so is installed. Hopefully, that would solve this
exception. And, as Paul wrote, we don't depend on winelib anymore.
The new code of SWF is under mcs/class/Managed.Windows.Forms
folder and can be built using the steps Paul has mentioned already.
>>> Paul <email@example.com> 10/27/04 12:02 PM >>>
> i am working on winforms.I have installed
> I am getting following error after compilation ,during executing..
If you're using Mono compiled from cvs, you won't need Wine. All you
make install (or if you're installing to /usr instead of /usr local
> Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for System.Drawing.GDIPlus --->
> in <0x00053> (wrapper managed-to-native)
<0x00068> System.Drawing.GDIPlus:.cctor ()
> --- End of inner exception stack trace ---
> in (unmanaged) System.Drawing.GDIPlus:GdipCreateFontFromHfont
> in <0x000dd> System.Drawing.Font:FromHfont (intptr)
It looks like you've hit something which hasn't been implemented yet.
Have you a small code example which demonstrates the problem?
"Trust me, I know what I'm doing" - Det. Sledgehammer