[Mono-bugs] [Bug 75508][Nor] Changed - Misleading OutOfMemoryException on Bitmap constructor if file not found

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jul 10 06:21:39 EDT 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by kornelpal at hotmail.com.


--- shadow/75508	2005-07-08 08:15:01.000000000 -0400
+++ shadow/75508.tmp.14962	2005-07-10 06:21:39.000000000 -0400
@@ -30,6 +30,11 @@
 How often does this happen? 
 Additional Information:
+------- Additional Comments From kornelpal at hotmail.com  2005-07-10 06:21 -------
+The problem is that Mono uses GdipLoadImageFromFile while MS uses 
+GdipCreateBitmapFromFile and these functions have different 
+behaviour at least regarding error codes.

More information about the mono-bugs mailing list