Re: Tracing an exception

Peter Ritchie <[email protected]> Fri, 14 Mar 2008 10:11:39 -0400
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <LISTSERV%[email protected]>
On Fri, 14 Mar 2008 09:53:24 +1300, Dean Cleaver
<[email protected]> wrote:

>But I figured if it was my code using it, my code would have been
>included in the stack trace?

It depends on what code used the GDI object first.  If it's your code then
the exception will occur somewhere else (in this case "system" code).
It's like locking on "this", if you code and system code lock on the same
object and your code locks first, the system code hangs.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com