help needed on gdiplus error on app startup...

KFD <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
My first attempt on porting a .net 3.5 app to mono...

MoMA says no porting issues, so I attempt to run using new install of mono
2.6.3...

and get the following (snipped for brevity)...

System.ArgumentException: A null reference or invalid value was found [GDI+
stat
us: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0009d] in
C:\cygwin\t
mp\monobuild\build\BUILD\mono-2.6.3\mcs\class\System.Drawing\System.Drawing\gdip
Functions.cs:219
  at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat
format)
 [0x00017] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.3\mcs\class\System.Dr
awing\System.Drawing\Bitmap.cs:97
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor
(int,int,S
ystem.Drawing.Imaging.PixelFormat)
...


For some reason, the build path seems to be under my Cygwin directory, but
when I look under c:\cygwin\tmp, there is nothing there, so I cant check out
the source where the exception is occurring...

Anyone have insight into this error, and/or where the missing source files
have disappeared to?

It looks like mono GDI+ dll hasnt been loaded/initialized yet?... 
-- 
View this message in context: http://n4.nabble.com/help-needed-on-gdiplus-error-on-app-startup-tp1678296p1678296.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.