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

Generic Error Occurred in GDI+ #370

Open
tabethereal opened this issue Apr 14, 2024 · 0 comments
Open

Generic Error Occurred in GDI+ #370

tabethereal opened this issue Apr 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tabethereal
Copy link

Sometimes the explorer stucks and a bug report is created on desktop after killing the explorer forcelly.
This seems to be related with display (preview or graphic card or something).

QT ver: 2048.0Beta 2

The content of bug report:

System.Runtime.InteropServices.ExternalException (0x80004005): Generic Error Occurred in GDI+.
in System.Drawing.Image.FromHbitmap(IntPtr hbitmap, IntPtr hpalette)
in System.Drawing.Image.FromHbitmap(IntPtr hbitmap)
in System.Windows.Forms.ImageList.GetBitmap(Int32 index)
in System.Windows.Forms.ImageList.ImageCollection.get_Item(Int32 index)
in QTTabBarLib.QTabControl.DrawTab(Graphics g, Rectangle itemRct, Int32 index, Boolean fHot, Boolean fVisualStyle)
in QTTabBarLib.QTabControl.OnPaint(PaintEventArgs e)

System.ArgumentNullException: Value cannot be null.
argument: hdc
in System.Drawing.Graphics.FromHdc(IntPtr hdc)
in QTTabBarLib.ExplorerManager.rebarSubclassProc(Message& msg)
in QTTabBarLib.WindowSubclass.subClassProcCore(IntPtr hWnd, Int32 uMsg, IntPtr wParam, IntPtr lParam, IntPtr uIdSubclass, IntPtr dwRefData)
Optional information : msg: 0x00000014
@tabethereal tabethereal added the bug Something isn't working label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants