Disappearing Exceptions in OnDragDrop

  • Thread starter Thread starter Dennis
  • Start date Start date
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)
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top