Re:Isaacs: try/catch is an anti-pattern
by dpark on Monday November 14, 2011 @11:51PM
(#3237077)
That'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:
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-componentm...