[Mono-list] GDI+ status: InvalidParameter

Dimitri Gigault dimitri.gigault at free.fr
Tue Feb 24 15:13:30 EST 2009


Hello,

And thank you for your response.

> This looks like an invalid icon (file or format). Try removing your icon
> from the form to see if it works. 
> 
> If it does then please attach the icon to a bug report[1] so that we can
> check if this was fixed after Mono 1.9.1 (which is already quite old).
> If it still does not work then post back on the list what error you
> getting (without the icon).


 I remove the icon and I reinstall Mono ( using this method :
http://monofrance.tuxfamily.org/modules/newbb/viewtopic.php?topic_id=132&forum=6)

But I got this :

Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for System.Windows.Forms.Control --->
System.EntryPointNotFoundException: RegisterWindowMessage
  at (wrapper managed-to-native)
System.Windows.Forms.SafeNativeMethods:RegisterWindowMessage (string)
  at System.Windows.Forms.Control..cctor () [0x00000] 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.SetCompatibleTextRenderingDefault
(Boolean defaultValue) [0x00000] 
  at CalculPoint.Program.Main () [0x00000] 

Any Idea ?

Regards
Dimitri



More information about the Mono-list mailing list