Click here to Skip to main content
16,005,206 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Mnemonic not working Pin
prasad_som21-Mar-07 3:10
prasad_som21-Mar-07 3:10 
GeneralRe: Mnemonic not working Pin
Try21-Mar-07 3:19
Try21-Mar-07 3:19 
QuestionRe: Mnemonic not working Pin
prasad_som21-Mar-07 3:29
prasad_som21-Mar-07 3:29 
Questiontry catch not working Pin
Bangerman21-Mar-07 1:10
Bangerman21-Mar-07 1:10 
AnswerRe: try catch not working Pin
Stephen Hewitt21-Mar-07 1:17
Stephen Hewitt21-Mar-07 1:17 
GeneralRe: try catch not working Pin
Bangerman21-Mar-07 1:23
Bangerman21-Mar-07 1:23 
GeneralRe: try catch not working - msvcrt80 Pin
Bangerman21-Mar-07 3:11
Bangerman21-Mar-07 3:11 
GeneralRe: try catch not working - msvcrt80 Pin
Stephen Hewitt21-Mar-07 13:00
Stephen Hewitt21-Mar-07 13:00 
I don't generally approve of catching such exceptions (access violations). There are exceptions (not the programming type) – such as in low level code – but in general littering code with “catch alls” just makes debugging hard and postmortem debugging near impossible. A good rule when using exceptions is this: only catch what you expect can be thrown if the program is functioning normally. Breaking this rule can make you wish you never heard of exception handling. For example, if you get an access violation while building a doubly linked list you crash and the debugger or Dr.Watson dump is at the problem point; if the exception is caught the program continues with a corrupted list and if your lucky a crash occurs some time later and you’re left tearing you hair out trying to find the source of the corruption; if you’re unlucky the program doesn’t crash at all but just doesn’t work properly.


Steve

AnswerRe: try catch not working Pin
zoid ! 21-Mar-07 9:17
zoid ! 21-Mar-07 9:17 
QuestionRight to left language and copy and paste Pin
BadJerry21-Mar-07 0:38
BadJerry21-Mar-07 0:38 
QuestionAdding my application to Quick Launch Pin
velayudhan_raj20-Mar-07 23:57
velayudhan_raj20-Mar-07 23:57 
AnswerRe: Adding my application to Quick Launch [modified] Pin
KaЯl21-Mar-07 1:05
KaЯl21-Mar-07 1:05 
AnswerRe: Adding my application to Quick Launch Pin
Laxman Auti21-Mar-07 3:04
Laxman Auti21-Mar-07 3:04 
QuestionAfxGetWinApp() Pin
deeps_cute20-Mar-07 23:34
deeps_cute20-Mar-07 23:34 
AnswerRe: AfxGetWinApp() Pin
prasad_som20-Mar-07 23:37
prasad_som20-Mar-07 23:37 
AnswerRe: AfxGetWinApp() Pin
ThatsAlok21-Mar-07 19:52
ThatsAlok21-Mar-07 19:52 
QuestionUser Interface style problem Pin
ilgale20-Mar-07 23:14
ilgale20-Mar-07 23:14 
AnswerRe: User Interface style problem Pin
JudyL_MD21-Mar-07 1:49
JudyL_MD21-Mar-07 1:49 
QuestionAPIs or MFC class for working with FAT ? Pin
nguyenvodich20-Mar-07 22:36
nguyenvodich20-Mar-07 22:36 
AnswerRe: APIs or MFC class for working with FAT ? Pin
kakan21-Mar-07 1:17
professionalkakan21-Mar-07 1:17 
QuestionProblem handling CStatic mouse click [modified] Pin
Futterama20-Mar-07 22:31
Futterama20-Mar-07 22:31 
AnswerRe: Problem handling CStatic mouse click Pin
prasad_som20-Mar-07 22:51
prasad_som20-Mar-07 22:51 
GeneralRe: Problem handling CStatic mouse click Pin
Futterama20-Mar-07 23:19
Futterama20-Mar-07 23:19 
AnswerRe: Problem handling CStatic mouse click Pin
prasad_som20-Mar-07 23:34
prasad_som20-Mar-07 23:34 
GeneralRe: Problem handling CStatic mouse click Pin
Futterama21-Mar-07 0:07
Futterama21-Mar-07 0:07 

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.