4 ms·
An example comes to mind, from the very issue I'm working on at the moment: System.ComponentModel.Win32Exception: The operation completed successfully at Sys
by julianz 15y ago
An example comes to mind, from the very issue I'm working on at the moment:
System.ComponentModel.Win32Exception: The operation completed successfully
at System.Drawing.BufferedGraphicsContext.CreateCompatibleDIB(IntPtr hdc, IntPtr hpal, Int32 ulWidth, Int32 ulHeight, IntPtr& ppvBits)
- dpark 15y agoThat's really terrible, and I can't defend that. However, in the interest of trying to be helpful, my guess is that you have a bug in your app that plays poorly with a bug in Win32. A quick search for BufferedGraphicsContext.CreateCompatibleDIB yielded this question on SO (link to top answer) which indicates a resource leak may be at fault: http://stackoverflow.com/questions/1209769/system-componentmodel-win32exception-the-operation-completed-successfully/1209804#1209804 http://stackoverflow.com/questions/1209769/system-componentm...