[Mono-bugs] [Bug 76930][Nor] Changed - Paint.NET: GdipCreateHBITMAPFromBitmap needed.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 6 16:27:37 EST 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 peter at novonyx.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76930

--- shadow/76930	2005-12-06 01:00:08.000000000 -0500
+++ shadow/76930.tmp.6740	2005-12-06 16:27:37.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 76930
 Product: Mono: Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Normal
 Component: Sys.Drawing.
 AssignedTo: jordi at ximian.com                            
 ReportedBy: miguel at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -73,6 +73,18 @@
 /home/cvs/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:376)
 System.Windows.Forms.Application:Run (System.Windows.Forms.Form mainForm)
 in [0x00156] (at /home/cvs/pdn/src/Startup.cs:139) PaintDotNet.Startup:Start ()
 in [0x00006] (at /home/cvs/pdn/src/Startup.cs:149) PaintDotNet.Startup:Main
 (System.String[] args)
 make: *** [run] Error 1
+
+------- Additional Comments From peter at novonyx.com  2005-12-06 16:27 -------
+GdipCreateHBITMAPFromBitmap and it's counterpart, 
+GdipCreateBitmapFromHBITMAP are now implemented.
+
+However, I am worried abit about the fact that the app tries to use 
+this call. This means most likely that it will use the HBITMAP handle 
+in some P/Invoke call, which obviously will fail.
+
+As an FYI, all our HANDLEs (bitmaps, DC, etc) are implemented as the 
+memory pointers to the libgdiplus objects. That way they are easily 
+usable from managed and unmanaged code.


More information about the mono-bugs mailing list