Invalid Operation Exception - Possible device context lock

Issue #1905 resolved
Former user created an issue

LaunchBox 6.12 Windows 10, 64bit Occurred once Was scrolling through SNES library (about 700 games)

System.InvalidOperationException: Object is currently in use elsewhere. at System.Drawing.Graphics.GetHdc() at System.Drawing.BufferedGraphics.RenderInternal(HandleRef refTargetDC, BufferedGraphics buffer) at System.Drawing.BufferedGraphics.Render() at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Comments (3)

  1. Jason Carr repo owner

    Proving to be a royal pain to hunt down, but restructured the code to hopefully help us identify this easier in the future.

  2. Log in to comment