PC Review


Reply
Thread Tools Rate Thread

Application closing without exception

 
 
pezi
Guest
Posts: n/a
 
      17th Aug 2009
hello
i'm developing an application for a wm6-device. sometimes the application
suddenly is closed without throwing any exception or anything else.

----------------
try
{
AppDomain.CurrentDomain.UnhandledException +=
new
UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
...
Application.Run(...);

}
catch (Exception e)
{
MessageBox.Show(...);
}
catch
{
MessageBox.Show(...);
}
----------------

as you can see in the code-block above i already catch all exceptions (even
the unhandled ones) but apparently there are some more

does anyone know what could be happening here respectively how to catch this
exception (or whatever it is)

tia
pezi

 
Reply With Quote
 
 
 
 
Alberto Silva, MVP
Guest
Posts: n/a
 
      18th Aug 2009
There is a power toy that may help you sort out the root of the problem, the
..NET CF Logging Configuration that you can install from here:

http://www.microsoft.com/downloads/d...displaylang=en


--

Alberto Silva
http://www.moving2u.pt - R&D Manager
http://msmvps.com/AlbertoSilva - Blog
Microsoft MVP - Device Application Development


"pezi" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hello
> i'm developing an application for a wm6-device. sometimes the application
> suddenly is closed without throwing any exception or anything else.
>
> ----------------
> try
> {
> AppDomain.CurrentDomain.UnhandledException +=
> new
> UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
> ...
> Application.Run(...);
>
> }
> catch (Exception e)
> {
> MessageBox.Show(...);
> }
> catch
> {
> MessageBox.Show(...);
> }
> ----------------
>
> as you can see in the code-block above i already catch all exceptions
> (even the unhandled ones) but apparently there are some more
>
> does anyone know what could be happening here respectively how to catch
> this exception (or whatever it is)
>
> tia
> pezi
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4341 (20090817) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4341 (20090817) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



 
Reply With Quote
 
Paul Diston
Guest
Posts: n/a
 
      22nd Aug 2009
Hi,

You may also be interested in reading Raffael's blog post on this :-

http://blogs.msdn.com/raffael/archiv...ws-mobile.aspx

Hope this helps.

Paul Diston
--
http://www.smartmobiledevice.co.uk


"pezi" wrote:

> hello
> i'm developing an application for a wm6-device. sometimes the application
> suddenly is closed without throwing any exception or anything else.
>
> ----------------
> try
> {
> AppDomain.CurrentDomain.UnhandledException +=
> new
> UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
> ...
> Application.Run(...);
>
> }
> catch (Exception e)
> {
> MessageBox.Show(...);
> }
> catch
> {
> MessageBox.Show(...);
> }
> ----------------
>
> as you can see in the code-block above i already catch all exceptions (even
> the unhandled ones) but apparently there are some more
>
> does anyone know what could be happening here respectively how to catch this
> exception (or whatever it is)
>
> tia
> pezi
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The exception unknown software exception(0x0eedfade) occured in the application at location 0x7c812a5d. Raghu Windows XP General 0 4th Nov 2006 07:49 AM
the exception unknown software exception (0x0eedfade) occured in the application at location 0x7c81eb33 mohammed.haseeb@gmail.com Windows XP Internet Explorer 1 25th Jul 2006 10:53 PM
The exception unknown software exception (0xc0000409) occurred in the application at location 0x00000000. Lars-Erik Aabech Microsoft ASP .NET 5 11th Jul 2005 07:44 AM
Enterprise Library Exception Application Block -- > Exception GUID =?Utf-8?B?QWhzYW4=?= Microsoft Dot NET 0 21st Apr 2005 05:41 PM
Closing excel application without closing all workbooks at the sa. =?Utf-8?B?S2l3aSBSb3hpZQ==?= Microsoft Excel Setup 2 30th Oct 2004 02:18 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:45 AM.