[Mono-winforms-list] Error while trying to show Windows.Forms.Form

Natalia Portillo claunia at claunia.com
Sun Nov 7 21:08:18 EST 2010


I have not checked current Mono versions but on Mono 2.4 I got this error while trying to load an application that contains as icon a Windows Vista formatted icon (256x256 pixeles, tru color, PNG compressed).

If you have the lastest libjpeg, libtiff and libpng of your distribution installed this may be the problem.

(Just curious, for BMP, ICO, EMF and WMF Mono uses external libraries? which ones?)

El 06/11/2010, a las 00:55, redhead escribió:

> 
> Hi,
> I am new to Mono (and relatively to linux too), I would like to port my .Net
> app to Mono.
> 
> I added (hopefully) all *-sharp references, build is fine, but when I call
> Show() method on my class extended from System.Windows.Forms.Form exception
> is thrown something about missing GDI+ library (unknown image format, cannot
> decode). 
> 
> How do I fix this? I thought it is ok to use WinForms under Mono.
> 
> thanks for help
> -- 
> View this message in context: http://mono.1490590.n4.nabble.com/Error-while-trying-to-show-Windows-Forms-Form-tp3029593p3029593.html
> Sent from the Mono - WinForms mailing list archive at Nabble.com.
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list



More information about the Mono-winforms-list mailing list