Disappearing Exceptions in OnDragDrop

D

Dennis

We have a big WinForms process that registers global exception
handlers on both Application.ThreadException and
AppDomain.UnhandledException. We have observed that when an exception
is thrown in the OnDragDrop overload, the exception disappears, and
the process continues happily.

After attaching the debugger and putting a breakpoint just before this
exception is thrown (we throw it ourselves to simulate the real
problem), we see some OLE-related items in the stacktrace. We now
believe that OLE is absorbing the exception.

Is there anybody that can confirm this?

Dennis Doomen
Sioux TSO B.V.
(e-mail address removed)
 
W

Wiktor Zychla

Is there anybody that can confirm this?
I confirm that. We have observed this about a year ago. The behaviour is
consistent in .NET 1.0 and 1.1.

I am afraid that you will have to live with that.

Regards,
Wiktor Zychla
 
Top