Re: Try...Catch across assemblies
- From: Mehdi <vioccc@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 1 Jul 2005 22:24:55 +0100
On Fri, 1 Jul 2005 07:15:03 +0100, Jon Skeet [C# MVP] wrote:
> Well, the good news is that it's got nothing to do with running in a
> different assembly. The bad news is I don't entirely understand it. I
> *believe* it's because when you show a dialog, it starts a new message
> pump, and *that's* what is popping up the message box. I don't know how
> to solve it though. It might be worth asking in the Windows Forms
> newsgroup. Here's the code I used to reproduce it in the end in a more
> compact (and readable to me, as a C# programmer :) form:
Funny, reading your code i've realized that this is the exact same problem
i ran into last week. Throwing an exception from the Load event handler
results in a weird behaviour in Visual Studio (unhandled exception even
with a try/catch) but runs fine outside VS. So i just assumed that it was a
bug with VS and moved on. But i'd be interested to know what the real
problem is.
.
- Follow-Ups:
- Re: Try...Catch across assemblies
- From: Jon Skeet [C# MVP]
- Re: Try...Catch across assemblies
- References:
- Re: Try...Catch across assemblies
- From: Jon Skeet [C# MVP]
- Re: Try...Catch across assemblies
- Prev by Date: Re: DOM Issue
- Next by Date: Re: Send Email via Exchange using CDOEX.DLL
- Previous by thread: Re: Try...Catch across assemblies
- Next by thread: Re: Try...Catch across assemblies
- Index(es):
Relevant Pages
|