Click here to Skip to main content
15,895,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: To catch all possible exceptions Pin
Luc Pattyn12-Apr-08 4:12
sitebuilderLuc Pattyn12-Apr-08 4:12 
GeneralRe: To catch all possible exceptions Pin
Mark Salsbery12-Apr-08 4:14
Mark Salsbery12-Apr-08 4:14 
GeneralRe: To catch all possible exceptions Pin
Luc Pattyn12-Apr-08 4:23
sitebuilderLuc Pattyn12-Apr-08 4:23 
GeneralRe: To catch all possible exceptions Pin
CPallini12-Apr-08 4:25
mveCPallini12-Apr-08 4:25 
GeneralRe: To catch all possible exceptions Pin
Luc Pattyn12-Apr-08 4:29
sitebuilderLuc Pattyn12-Apr-08 4:29 
GeneralRe: To catch all possible exceptions Pin
Mark Salsbery12-Apr-08 4:31
Mark Salsbery12-Apr-08 4:31 
GeneralRe: To catch all possible exceptions Pin
Mark Salsbery12-Apr-08 4:29
Mark Salsbery12-Apr-08 4:29 
GeneralRe: To catch all possible exceptions Pin
CPallini12-Apr-08 4:23
mveCPallini12-Apr-08 4:23 
Luc Pattyn wrote:
the big try-catch is great as a fall-back, to exit gracefully with a log;
but it is no substitute for the regular try-catch blocks you should implement at
critical points in the code.

I Know. My "I don't know if it is a good idea" was about that.

Luc Pattyn wrote:
Also it only catches exceptions in the main thread. So there is a lot more to it to get
it right.

he may repeat the pattern Poke tongue | ;-P in all program threads.

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: To catch all possible exceptions Pin
Luc Pattyn12-Apr-08 4:27
sitebuilderLuc Pattyn12-Apr-08 4:27 
GeneralRe: To catch all possible exceptions Pin
CPallini12-Apr-08 4:44
mveCPallini12-Apr-08 4:44 
GeneralRe: To catch all possible exceptions Pin
Luc Pattyn12-Apr-08 5:03
sitebuilderLuc Pattyn12-Apr-08 5:03 
GeneralRe: To catch all possible exceptions Pin
CPallini12-Apr-08 5:30
mveCPallini12-Apr-08 5:30 
GeneralRe: To catch all possible exceptions Pin
Randor 12-Apr-08 5:33
professional Randor 12-Apr-08 5:33 
GeneralRe: To catch all possible exceptions Pin
Hamid_RT14-Apr-08 4:30
Hamid_RT14-Apr-08 4:30 
GeneralTextOut text positioning oddity [modified] Pin
Anthony Appleyard12-Apr-08 2:51
Anthony Appleyard12-Apr-08 2:51 
GeneralRe: TextOut text positioning oddity Pin
CPallini12-Apr-08 3:37
mveCPallini12-Apr-08 3:37 
GeneralRe: TextOut text positioning oddity Pin
Mark Salsbery12-Apr-08 4:19
Mark Salsbery12-Apr-08 4:19 
GeneralRe: TextOut text positioning oddity Pin
Anthony Appleyard12-Apr-08 5:41
Anthony Appleyard12-Apr-08 5:41 
GeneralRe: TextOut text positioning oddity Pin
Mark Salsbery12-Apr-08 5:52
Mark Salsbery12-Apr-08 5:52 
QuestionEndDialog doesn't terminate the app! Pin
Joseph Marzbani12-Apr-08 2:47
Joseph Marzbani12-Apr-08 2:47 
GeneralRe: EndDialog doesn't terminate the app! Pin
Luc Pattyn12-Apr-08 3:02
sitebuilderLuc Pattyn12-Apr-08 3:02 
GeneralRe: EndDialog doesn't terminate the app! Pin
Joseph Marzbani12-Apr-08 3:10
Joseph Marzbani12-Apr-08 3:10 
GeneralRe: EndDialog doesn't terminate the app! Pin
Luc Pattyn12-Apr-08 4:10
sitebuilderLuc Pattyn12-Apr-08 4:10 
AnswerRe: EndDialog doesn't terminate the app! Pin
Mark Salsbery12-Apr-08 4:28
Mark Salsbery12-Apr-08 4:28 
GeneralRe: EndDialog doesn't terminate the app! Pin
Joseph Marzbani12-Apr-08 6:29
Joseph Marzbani12-Apr-08 6:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.