Click here to Skip to main content
15,891,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Exception Handling in C++ Pin
theCPkid29-Jun-10 3:20
theCPkid29-Jun-10 3:20 
GeneralRe: Exception Handling in C++ Pin
Stephen Hewitt1-Jul-10 14:31
Stephen Hewitt1-Jul-10 14:31 
GeneralRe: Exception Handling in C++ Pin
theCPkid1-Jul-10 17:45
theCPkid1-Jul-10 17:45 
GeneralRe: Exception Handling in C++ Pin
Stephen Hewitt1-Jul-10 17:59
Stephen Hewitt1-Jul-10 17:59 
GeneralRe: Exception Handling in C++ Pin
theCPkid1-Jul-10 19:03
theCPkid1-Jul-10 19:03 
GeneralRe: Exception Handling in C++ Pin
Stephen Hewitt1-Jul-10 19:38
Stephen Hewitt1-Jul-10 19:38 
GeneralRe: Exception Handling in C++ Pin
Aescleal29-Jun-10 7:01
Aescleal29-Jun-10 7:01 
GeneralRe: Exception Handling in C++ Pin
Stephen Hewitt1-Jul-10 14:17
Stephen Hewitt1-Jul-10 14:17 
Aescleal wrote:
This is a complete strawman - the exception you're throwing is derived from std::exception so the first catch clause I wrote would have caught it.


You seem to be missing the point. The choice of exception was arbitrary, the point is that it's not expected. Sure the first catch in your code would have caught it, but there is no such beast in the code I posted. My code is different to yours; you seem to be misrepresenting my argument. Who's augment is the straw man? You asked me to elaborate on my position and I did: instead of the user getting a generic error message (of no use to anyone) I get a dump file. I prefer the latter.
 
Steve

GeneralRe: Exception Handling in C++ Pin
theCPkid1-Jul-10 19:06
theCPkid1-Jul-10 19:06 
AnswerRe: Exception Handling in C++ [modified] Pin
theCPkid29-Jun-10 3:11
theCPkid29-Jun-10 3:11 
QuestionCRecordset old data problem Pin
eyalle23-Jun-10 0:29
eyalle23-Jun-10 0:29 
AnswerRe: CRecordset old data problem Pin
loyal ginger23-Jun-10 1:52
loyal ginger23-Jun-10 1:52 
GeneralRe: CRecordset old data problem Pin
eyalle23-Jun-10 2:14
eyalle23-Jun-10 2:14 
QuestionRe: CRecordset old data problem Pin
David Crow23-Jun-10 3:48
David Crow23-Jun-10 3:48 
QuestionPure virtual destructor ? Pin
krishna_CP23-Jun-10 0:17
krishna_CP23-Jun-10 0:17 
AnswerRe: Pure virtual destructor ? Pin
CPallini23-Jun-10 0:40
mveCPallini23-Jun-10 0:40 
AnswerRe: Pure virtual destructor ? Pin
Chris Losinger23-Jun-10 1:30
professionalChris Losinger23-Jun-10 1:30 
AnswerRe: Pure virtual destructor ? Pin
Aescleal23-Jun-10 6:52
Aescleal23-Jun-10 6:52 
QuestionMainframe loses focus with modeless dialogs in MFC application Pin
David Ayllon23-Jun-10 0:06
David Ayllon23-Jun-10 0:06 
AnswerRe: Mainframe loses focus with modeless dialogs in MFC application Pin
Richard MacCutchan23-Jun-10 3:05
mveRichard MacCutchan23-Jun-10 3:05 
GeneralRe: Mainframe loses focus with modeless dialogs in MFC application Pin
manchukuo23-Jun-10 16:31
manchukuo23-Jun-10 16:31 
GeneralRe: Mainframe loses focus with modeless dialogs in MFC application Pin
Richard MacCutchan23-Jun-10 21:45
mveRichard MacCutchan23-Jun-10 21:45 
QuestionRe: Mainframe loses focus with modeless dialogs in MFC application Pin
David Ayllon23-Jun-10 23:46
David Ayllon23-Jun-10 23:46 
Questionthreads Pin
jt_snjy0722-Jun-10 23:42
jt_snjy0722-Jun-10 23:42 
AnswerRe: threads Pin
CPallini22-Jun-10 23:55
mveCPallini22-Jun-10 23:55 

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.