[Mono-winforms-list] Theming in MWF

Nicolas Cornu nicolas.cornu at cyber-developpement.com
Sun Jul 31 13:26:02 EDT 2005


Peter Dennis Bartok a écrit :

>Yep, you got freetype, Xlib and all four image formats. You're good to go.
>
>Peter
>-----Original Message-----
>From: "Nicolas Cornu" <nicolas.cornu at cyber-developpement.com>
>To: <mono-winforms-list at ximian.com>
>Date: Sunday, 31 July, 2005 07:37
>Subject: Re: [Mono-winforms-list] Theming in MWF
>
>
>  
>
>>Is this configuration ok to use SWF with mono ?
>>
>>libgdiplus
>>--------------------------------------------------------------------------------
>>cairo will be compiled with the following surface backends:
>> Xlib: yes
>> Quartz: no
>> XCB: yes
>> PostScript: yes
>> PDF: no
>> PNG: yes
>> glitz: no (requires glitz http://freedesktop.org/software/glitz)
>>
>>and the following font backends:
>> freetype: yes
>> atsui: no
>>
>>---
>>Configuration summary
>>
>>  * Installation prefix = /usr
>>  * Codecs supported:
>>
>>     - TIFF: yes
>>     - JPEG: yes
>>     - GIF: yes
>>     - PNG: yes
>>
>>     NOTE: if any of the above say 'no' you may install the
>>           corresponding development packages for them, rerun
>>           autogen.sh to include them in the build.
>>
>>---------------------------------------------------------------------------------------------------
>>
>>GtkSharp-2.0-2.5.5
>>----------------------------------------------------------------------------------
>>Configuration summary
>>
>>  * Installation prefix = /usr
>>  * C# compiler: /usr/bin/mcs
>>
>>  Optional assemblies included in the build:
>>
>>     * art-sharp.dll: yes
>>     * gnomevfs-sharp.dll: yes
>>     * gnome-sharp.dll: no
>>     * glade-sharp.dll: yes
>>     * gda-sharp.dll: no
>>     * gnomedb-sharp.dll: no
>>     * rsvg-sharp.dll: no
>>     * gtkhtml-sharp.dll: no
>>     * vte-sharp.dll: no
>>     * panelapplet-sharp.dll: no
>>
>>     NOTE: if any of the above say 'no' you may install the
>>           corresponding development packages for them, rerun
>>           autogen.sh to include them in the build.
>>
>>_______________________________________________
>>Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>>http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>
>>
>>    
>>
>
>  
>
why do i get this error when starting a basic program written in C# 
using SWF:

Mono System.Windows.Forms Assembly [Revision: 44786; built: 2005/5/25 
22:34:45]

Unhandled Exception: System.TypeInitializationException: An exception 
was thrown  by the type initializer for System.Windows.Forms.XplatUI 
---> System.TypeInitia lizationException: An exception was thrown by the 
type initializer for System.Dr awing.GDIPlus ---> 
System.DllNotFoundException: gdiplus.dll
in (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup 
(ulong&,Sys 
tem.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
in <0x000cc> System.Drawing.GDIPlus:.cctor ()--- End of inner exception 
stack tr ace ---

in <0x00000> <unknown method>
in <0x0000c> System.Drawing.Graphics:FromHdcInternal (IntPtr hdc)
in <0x00090> System.Windows.Forms.XplatUIX11:SetDisplay (IntPtr 
display_handle)
in <0x0008c> System.Windows.Forms.XplatUIX11:.ctor ()
in <0x0003f> System.Windows.Forms.XplatUIX11:GetInstance ()
in <0x00061> System.Windows.Forms.XplatUI:.cctor ()--- End of inner 
exception st ack trace ---

in <0x00000> <unknown method>
in <0x00049> System.Windows.Forms.Form:get_CreateParams ()
in <0x0022f> System.Windows.Forms.Control:.ctor ()
in <0x00011> System.Windows.Forms.ScrollableControl:.ctor ()
in <0x00010> System.Windows.Forms.ContainerControl:.ctor ()
in <0x00010> System.Windows.Forms.Form:.ctor ()
in <0x0000a> Fen:.ctor ()
in (wrapper remoting-invoke-with-check) Fen:.ctor ()
in <0x0002f> Program:Main ()

Thanks in advance,

CN



More information about the Mono-winforms-list mailing list