News for hackers. Stuff that matters.
Re:Isaacs: try/catch is an anti-pattern by julianz on Monday November 14, 2011 @11:05PM (#3236969)
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)

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:

http://stackoverflow.com/questions/1209769/system-componentm...