HtmlRenderer icon indicating copy to clipboard operation
HtmlRenderer copied to clipboard

Win32.MyWin32:DeleteDC - EntryPointNotFoundException

Open ArsenShnurkov opened this issue 10 years ago • 1 comments

Unhandled Exception: System.EntryPointNotFoundException: DeleteDC at (wrapper managed-to-native) Win32.MyWin32:DeleteDC (intptr) at PixelFarm.Drawing.WinGdi.BasicGdi32FontHelper.Finalize () [0x00007] in /var/calculate/remote/distfiles/egit-src/HTML-Renderer/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/Implementation/MyFontInfo.cs:20

ArsenShnurkov avatar Feb 02 '15 04:02 ArsenShnurkov

Bug still here

System.TypeInitializationException: An exception was thrown by the type initializer for PixelFarm.Drawing.DrawingGL.MyCanvasGL ---> System.EntryPointNotFoundException: SelectObject
  at (wrapper managed-to-native) Win32.MyWin32:SelectObject (intptr,intptr)
  at PixelFarm.Drawing.WinGdi.BasicGdi32FontHelper.MeasureCharWidths (IntPtr hFont, System.Int32[]& charWidths, FontABC[]& abcSizes) [0x00025] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/Implementation/MyFontInfo.cs:42 
  at PixelFarm.Drawing.WinGdi.MyFontInfo..ctor (PixelFarm.Drawing.Font f, Int32 lineHeight, Single ascentPx, Single descentPx, Single baseline, PixelFarm.Drawing.WinGdi.BasicGdi32FontHelper gdiFontHelper) [0x00065] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/Implementation/MyFontInfo.cs:112 
  at PixelFarm.Drawing.WinGdi.FontStore.RegisterFont (System.Drawing.Font newFont, FontKey fontKey) [0x0009c] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/Implementation/FontStore.cs:164 
  at PixelFarm.Drawing.WinGdi.FontStore.GetCachedFont (System.Drawing.Font f) [0x0002e] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/Implementation/FontStore.cs:97 
  at PixelFarm.Drawing.DrawingGL.CanvasGLPlatform.PlatformGetFont (System.String fontFaceName, Single emsize, FontLoadTechnique fontLoadTechnique) [0x0000f] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.DrawingGL/0_Start/CanvasGLPlatform.cs:46 
  at PixelFarm.Drawing.DrawingGL.MyCanvasGL..cctor () [0x0004f] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.DrawingGL/MyCanvas_GL/1_MyCanvasGL_Specific.cs:276 
  --- End of inner exception stack trace ---
  at PixelFarm.Drawing.DrawingGL.CanvasGLPlatform.CreateCanvas (Int32 left, Int32 top, Int32 width, Int32 height) [0x00009] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.DrawingGL/0_Start/CanvasGLPlatform.cs:69 
  at LayoutFarm.Demo.HtmlPanel..ctor (PixelFarm.Drawing.GraphicsPlatform p, Int32 w, Int32 h) [0x00076] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/HtmlRenderer.Demo/HtmlRenderer.WinFormControls/HtmlPanel.cs:109 
  at (wrapper remoting-invoke-with-check) LayoutFarm.Demo.HtmlPanel:.ctor (PixelFarm.Drawing.GraphicsPlatform,int,int)
  at LayoutFarm.Demo.DemoForm..ctor (PixelFarm.Drawing.GraphicsPlatform p) [0x00057] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/HtmlRenderer.Demo/DemoForm.cs:79 
  at (wrapper remoting-invoke-with-check) LayoutFarm.Demo.DemoForm:.ctor (PixelFarm.Drawing.GraphicsPlatform)
  at LayoutFarm.Demo.DevForm.button1_Click (System.Object sender, System.EventArgs e) [0x00007] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/HtmlRenderer.Demo/DevForm.cs:80 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x0001c] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5710 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00024] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:102 
  at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00081] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:572 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:122 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x0007e] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5279 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0016f] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5020 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x0004e] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:632 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:142 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in /var/calculate/tmp/porta
Unhandled Exception:
System.EntryPointNotFoundException: DeleteDC
  at (wrapper managed-to-native) Win32.MyWin32:DeleteDC (intptr)
  at PixelFarm.Drawing.WinGdi.BasicGdi32FontHelper.Finalize () [0x00007] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/Implementation/MyFontInfo.cs:20 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:209 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x0008e] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:240 
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319

ArsenShnurkov avatar Jun 23 '15 15:06 ArsenShnurkov