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

C / C++ / MFC

 
Questionpls help me - its urgent pls Pin
deeps_cute24-May-07 19:31
deeps_cute24-May-07 19:31 
QuestionDifferent Pin
ashost0724-May-07 17:31
ashost0724-May-07 17:31 
AnswerRe: Different Pin
Nibu babu thomas24-May-07 18:32
Nibu babu thomas24-May-07 18:32 
QuestionStructured exception vs C++ exception Pin
Lane Yu24-May-07 17:01
Lane Yu24-May-07 17:01 
AnswerRe: Structured exception vs C++ exception Pin
Stephen Hewitt24-May-07 20:05
Stephen Hewitt24-May-07 20:05 
GeneralRe: Structured exception vs C++ exception Pin
Mark Salsbery25-May-07 6:07
Mark Salsbery25-May-07 6:07 
GeneralRe: Structured exception vs C++ exception Pin
Lane Yu27-May-07 23:43
Lane Yu27-May-07 23:43 
GeneralRe: Structured exception vs C++ exception Pin
Stephen Hewitt28-May-07 13:42
Stephen Hewitt28-May-07 13:42 
Lane Yu wrote:
But in my testing program, all kinds of exceptions including zero-dividing or NULL pointer can be caught by catch(...). Why? Does that mean we can always use C++ try/catch in C++ programs?

As my previous post indicated, the fact that you can use try/catch to catch NULL pointer references and zero-dividing indicates that:
 - You're using an old and non-standard compiler such as Microsoft Visual Studio 6.
 - You're using a compiler with a non-standard extension with enables this non-standard behaviour; such as the later Microsoft compiler's /EHa switch.

In standard C++ try/catch can NOT catch these exceptions!

Steve

GeneralRe: Structured exception vs C++ exception Pin
Lane Yu28-May-07 16:23
Lane Yu28-May-07 16:23 
QuestionCan Vistual Studio 6.0 make "setup file"? Pin
Peter, Chan24-May-07 16:41
Peter, Chan24-May-07 16:41 
AnswerRe: Can Vistual Studio 6.0 make "setup file"? Pin
Christian Graus24-May-07 16:47
protectorChristian Graus24-May-07 16:47 
AnswerRe: Can Vistual Studio 6.0 make "setup file"? Pin
Hamid_RT24-May-07 21:35
Hamid_RT24-May-07 21:35 
QuestionQuestion on making apps Pin
Firestorm ZERO24-May-07 15:40
Firestorm ZERO24-May-07 15:40 
AnswerRe: Question on making apps [modified] Pin
Michael Dunn24-May-07 15:54
sitebuilderMichael Dunn24-May-07 15:54 
AnswerRe: Question on making apps Pin
bob1697224-May-07 18:27
bob1697224-May-07 18:27 
AnswerRe: Question on making apps Pin
CPallini24-May-07 20:53
mveCPallini24-May-07 20:53 
QuestionC# dll from MFC application Pin
nzhuda24-May-07 15:24
nzhuda24-May-07 15:24 
AnswerRe: C# dll from MFC application Pin
CPallini24-May-07 20:25
mveCPallini24-May-07 20:25 
QuestionUnexplained API Pin
dellthinker24-May-07 14:53
dellthinker24-May-07 14:53 
AnswerRe: Unexplained API Pin
Michael Dunn24-May-07 16:01
sitebuilderMichael Dunn24-May-07 16:01 
QuestionBlocking Certain Keyboard Input Pin
Michael Sadlon24-May-07 13:42
Michael Sadlon24-May-07 13:42 
AnswerRe: Blocking Certain Keyboard Input Pin
Perspx25-May-07 6:34
Perspx25-May-07 6:34 
QuestionAsync Serial Port Read Pin
RMLPilot24-May-07 12:18
RMLPilot24-May-07 12:18 
AnswerRe: Async Serial Port Read Pin
Hans Dietrich24-May-07 13:14
mentorHans Dietrich24-May-07 13:14 
GeneralRe: Async Serial Port Read Pin
RMLPilot25-May-07 2:05
RMLPilot25-May-07 2:05 

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.