[Mono-bugs] [Bug 59645][Maj] New - Bad extern native funciton GetDC

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 6 Jun 2004 04:20:36 -0400 (EDT)


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 ddmk@r66.ru.

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

--- shadow/59645	2004-06-06 04:20:35.000000000 -0400
+++ shadow/59645.tmp.20367	2004-06-06 04:20:35.000000000 -0400
@@ -0,0 +1,35 @@
+Bug#: 59645
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Windows 2003
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Drawing.
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ddmk@r66.ru               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Bad extern native funciton GetDC
+
+Any WindowsForms application failed with next error:
+
+Unhandled Exception: System.EntryPointNotFoundException: GetDC
+in <0x00050> (wrapper managed-to-native) System.Drawing.GDIPlus:GetDC 
+(intptr)
+in <0x000e3> System.Drawing.Font:FromHfont (intptr)
+in <0x00015> System.Windows.Forms.Control:get_DefaultFont ()
+in <0x0018a> System.Windows.Forms.Control:.ctor ()
+in <0x00010> System.Windows.Forms.ScrollableControl:.ctor ()
+in <0x00012> System.Windows.Forms.ContainerControl:.ctor ()
+in <0x00016> System.Windows.Forms.Form:.ctor ()
+in <0x0000a> MainForm:.ctor ()
+in <0x0004c> (wrapper remoting-invoke-with-check) MainForm:.ctor ()
+in <0x00033> MainForm:Main (string[])
+
+Because no enty point at "gdi32.dll" called "GetDC", where is entrypoint 
+called "GdiGetDC"