Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win32.MyWin32:DeleteDC - EntryPointNotFoundException #29

Open
ArsenShnurkov opened this issue Feb 2, 2015 · 1 comment
Open

Win32.MyWin32:DeleteDC - EntryPointNotFoundException #29

ArsenShnurkov opened this issue Feb 2, 2015 · 1 comment

Comments

@ArsenShnurkov
Copy link
Contributor

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
Copy link
Contributor Author

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

@prepare prepare transferred this issue from prepare/HTML-Renderer Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant