List Info

Thread: catching low-level Win32 exceptions in C#?




catching low-level Win32 exceptions in C#?
user name
2006-11-02 10:13:57
Ahh I see from your original message this is a service. Can
we assume then
that this has multiple threads running? And the question
about .NET version
still stands as the behavior changed between 1.1 and 2.0

Regards

Richard Blewett - DevelopMentor

-----Original Message-----
From: Discussion of development on the .NET platform using
any managed
language [mailtoOTNET-CL
RDISCUSS.DEVELOP.COM] On Behalf Of Richard
Blewett
Sent: 02 November 2006 09:54
To: DOTNET-CLRDISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-CLR] catching low-level Win32
exceptions in C#?

What version of .NET are you using and what type of
application is it
(winforms, web, etc)

Regards

Richard Blewett - DevelopMentor

-----Original Message-----
From: Discussion of development on the .NET platform using
any managed
language [mailtoOTNET-CL
RDISCUSS.DEVELOP.COM] On Behalf Of Kirk Marple
Sent: 02 November 2006 03:37
To: DOTNET-CLRDISCUSS.DEVELOP.COM
Subject: [DOTNET-CLR] catching low-level Win32 exceptions in
C#?

occasionally when running our application, a low-level
exception will take
down our .NET service process.

in the event log, i can see the fault in a system DLL (a
video codec), but
even though we're catching exceptions at the C# level, we
don't seem to be
able to catch these types of exceptions.

is there something we have to do from a configuration
standpoint, or a
global exception handler, that will allow us to catch these
exceptions, log
them, clean up, and continue along safely w/o bringing down
the process?

thanks,
Kirk

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Kirk Marple
Chief Software Architect, VP of Engineering
Agnostic Media, Inc.
e: kirkagnostic-media.com
w: www.agnostic-media.com <http://www.agnosti
c-media.com/>


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

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


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

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


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

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

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )