PC Review


Reply
Thread Tools Rate Thread

How best to avoid unhandled exceptions in MS code from hanging my

 
 
GrahamS
Guest
Posts: n/a
 
      13th May 2009
Hi,

As described in various other posts - I am having a few issues where I get a
popup dialog box from within the OS - or managed wrappers etc. These are
being caused by apparently unhandled exceptions possibly in threads outside
of my app (Serial port and Socket programming).

They manifest as a popup dialog stating that my app must be closed down.

Well - on an embedded product with NO USER - this is pretty catastrophic :-O.

SO - as CE does not support 'services' - how 'should' I build my code so
that these will not occur and will instead cause the app to shut down either
gracefully with an exception or at least just to exit the app - as my outer
layer code will restart it again ;-O.

Do I need to build as a command-line app ?? - as there is no UI - it 'ought'
to shut down without asking for user intervention ??.

I would normally build this type of app on a PC as a 'windows service' - but
.......

Many Thanks

Regards

Graham

 
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
How best to avoid unhandled exceptions in MS code from hanging my GrahamS Microsoft Dot NET Compact Framework 2 13th May 2009 06:04 PM
Unhandled exceptions in ASP.NET BillAtWork Microsoft Dot NET 1 18th Dec 2008 04:48 PM
UNHANDLED EXCEPTIONS supa Windows XP WMI 0 10th Nov 2008 03:30 PM
unhandled exceptions =?Utf-8?B?ZnVsbG9mcXVlc3Rpb25z?= Windows XP Help 0 18th May 2004 01:41 AM
VC++, .NET and unhandled exceptions Colin Thomsen Microsoft VC .NET 2 16th Oct 2003 07:16 PM


Features
 

Advertising
 

Newsgroups
 


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