Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: My problem is: Pin
Masaaki Onishi1-Apr-01 17:56
Masaaki Onishi1-Apr-01 17:56 
GeneralRe: Support MultiLanguage in VC Pin
l a u r e n2-Apr-01 6:45
l a u r e n2-Apr-01 6:45 
GeneralRe: Support MultiLanguage in VC Pin
Masaaki Onishi2-Apr-01 7:08
Masaaki Onishi2-Apr-01 7:08 
Generaldot operator menu... Pin
Cam1-Apr-01 15:28
Cam1-Apr-01 15:28 
GeneralRe: dot operator menu... Pin
Christian Graus1-Apr-01 17:07
protectorChristian Graus1-Apr-01 17:07 
Generaltry / catch : not compiled && unreachable in release build. Pin
Matt Cooper1-Apr-01 14:54
Matt Cooper1-Apr-01 14:54 
GeneralRe: try / catch : not compiled && unreachable in release build. Pin
Tim Deveaux2-Apr-01 6:54
Tim Deveaux2-Apr-01 6:54 
GeneralRe: try / catch : Oops - fogot something... Pin
Tim Deveaux2-Apr-01 13:33
Tim Deveaux2-Apr-01 13:33 
Interesting stuff - the compiler seems to be changing the call format of the function, optimizing away the stack operations, which disables the exception framework.

I forgot the other side of the coin - since catch(...) is technically only for catching C++ exceptions/objects, the compiler has the right to get rid of the try/catch block here if it can see that no C++ exception can be thrown, which is true - the access violations in our codes are processor traps.

What's murky is how and why these traps _are_ translated and passed to our apps in such a way that a catch(...) handler will catch them - I think it was a decision made long ago and maintained for compatibility.

If this were written using windows Structured Exception Handling instead, the results might be different.
GeneralRe: try / catch Pin
Matt Cooper2-Apr-01 19:54
Matt Cooper2-Apr-01 19:54 
GeneralRe: try / catch Pin
Tim Deveaux3-Apr-01 13:45
Tim Deveaux3-Apr-01 13:45 
GeneralRe: try / catch Pin
Matt Cooper4-Apr-01 18:27
Matt Cooper4-Apr-01 18:27 
Generaltwo q's..._T("What the heck?") and handling CString's as float's Pin
Cam1-Apr-01 13:22
Cam1-Apr-01 13:22 
GeneralRe: two q's..._T( Pin
Christian Graus1-Apr-01 13:52
protectorChristian Graus1-Apr-01 13:52 
GeneralRe: two q's..._T( Pin
Cam1-Apr-01 15:20
Cam1-Apr-01 15:20 
GeneralRe: two q's..._T( Pin
PJ Arends1-Apr-01 14:22
professionalPJ Arends1-Apr-01 14:22 
GeneralRe: two q's..._T( Pin
3-Apr-01 3:40
suss3-Apr-01 3:40 
GeneralExporting Constants from Vc Dll Pin
Sabith Mannadiar1-Apr-01 4:45
Sabith Mannadiar1-Apr-01 4:45 
GeneralRe: Exporting Constants from Vc Dll Pin
l a u r e n1-Apr-01 9:57
l a u r e n1-Apr-01 9:57 
QuestionHow to Associate ImageList 6 to ListView 6 in VC++ Pin
1-Apr-01 0:43
suss1-Apr-01 0:43 
AnswerRe: How to Associate ImageList 6 to ListView 6 in VC++ Pin
Brendan Tregear1-Apr-01 15:46
Brendan Tregear1-Apr-01 15:46 
Generalexec Pin
Starodubtsev Sergey1-Apr-01 0:15
Starodubtsev Sergey1-Apr-01 0:15 
GeneralRe: exec Pin
Mustafa Demirhan1-Apr-01 1:09
Mustafa Demirhan1-Apr-01 1:09 
GeneralStrange kind of class Pin
Ahmad31-Mar-01 22:21
Ahmad31-Mar-01 22:21 
GeneralRe: Strange kind of class Pin
l a u r e n31-Mar-01 23:04
l a u r e n31-Mar-01 23:04 
GeneralRe: Strange kind of class Pin
Ahmad31-Mar-01 23:13
Ahmad31-Mar-01 23:13 

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.