Re: UnhandledExceptionEventArgs
- From: "Daniel Moth" <dmoth74@xxxxxxxxxxx>
- Date: Wed, 30 Mar 2005 19:56:08 +0100
Step into your code and see which line causes the exception to be thrown. That is the correct way of identifying the error in the absence of a StackTrace.
On the generic topic of global exception handling, there is no support for it for CF 1.0. For info see this:
http://www.danielmoth.com/Blog/2004/08/global-exception-handling-net-cf-v10.html
Cheers Daniel -- http://www.danielmoth.com/Blog/
"KM" <none@xxxxxxx> wrote in message news:%23I$e0UPNFHA.1396@xxxxxxxxxxxxxxxxxxxxxxx
Hi group
In "standard" .NET it´s possible to catch unhandled exception thru the UnhandledExceptionEventArgs class. Is there a similar way with .NET compact framework.
I´m currently developing a small appl for a pda, which connects to a bluetooth GPS reciever. The communication between the program and the reviever is handle by a dll found here: http://www.hardandsoftware.net/ If the reciever isn´t on, when I launch the program (from VS.NET) it crashes with the following message:
An unhandled exception of type 'System.ArgumentNullException' occurred in mscorlib.dll
ANy suggestion on how to catch this exception?
TIA
Kaare
.
- Prev by Date: Re: Close all threads when application closes
- Next by Date: RE: Visual Studio 2005 Question
- Previous by thread: opennetCF latest code
- Next by thread: RE: Visual Studio 2005 Question
- Index(es):
Relevant Pages
|