Click here to Skip to main content
15,910,234 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionexceptions Pin
jon-8022-Aug-06 8:48
professionaljon-8022-Aug-06 8:48 
QuestionRe: exceptions Pin
David Crow22-Aug-06 8:57
David Crow22-Aug-06 8:57 
AnswerRe: exceptions Pin
jon-8022-Aug-06 9:06
professionaljon-8022-Aug-06 9:06 
GeneralRe: exceptions Pin
Zac Howland22-Aug-06 9:10
Zac Howland22-Aug-06 9:10 
GeneralRe: exceptions Pin
David Crow22-Aug-06 9:21
David Crow22-Aug-06 9:21 
GeneralRe: exceptions Pin
Zac Howland22-Aug-06 9:22
Zac Howland22-Aug-06 9:22 
QuestionRe: exceptions Pin
David Crow22-Aug-06 9:32
David Crow22-Aug-06 9:32 
AnswerRe: exceptions Pin
Zac Howland22-Aug-06 9:42
Zac Howland22-Aug-06 9:42 
I'm on a Linux box at the moment, so I can't look it up. However, I do remember CFile having a constructor that throws an exception. If you look at the header file for it, you should see something at the end of the defintion that looks like _THROW() (which is #define'd as throw(...)). There is also a #define for _NOTHROW() (which is #define'd as throw()). The first means the function will throw an exception. The latter means the function cannot throw an exception (you will actually get a compiler error if you throw an exception from a function declared with the throw() directive.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

GeneralRe: exceptions Pin
David Crow22-Aug-06 9:47
David Crow22-Aug-06 9:47 
GeneralRe: exceptions Pin
Zac Howland22-Aug-06 10:08
Zac Howland22-Aug-06 10:08 
GeneralRe: exceptions Pin
David Crow22-Aug-06 10:25
David Crow22-Aug-06 10:25 
GeneralRe: exceptions Pin
Zac Howland22-Aug-06 13:34
Zac Howland22-Aug-06 13:34 
AnswerRe: exceptions Pin
Zac Howland22-Aug-06 9:09
Zac Howland22-Aug-06 9:09 
GeneralRe: exceptions Pin
Cedric Moonen22-Aug-06 9:23
Cedric Moonen22-Aug-06 9:23 
GeneralRe: exceptions Pin
Zac Howland22-Aug-06 9:46
Zac Howland22-Aug-06 9:46 
AnswerRe: exceptions Pin
jon-8022-Aug-06 9:38
professionaljon-8022-Aug-06 9:38 
GeneralRe: exceptions Pin
Zac Howland22-Aug-06 9:52
Zac Howland22-Aug-06 9:52 
AnswerRe: exceptions Pin
markkuk22-Aug-06 11:22
markkuk22-Aug-06 11:22 
QuestionRe: exceptions Pin
jon-8023-Aug-06 4:50
professionaljon-8023-Aug-06 4:50 
QuestionHide window Pin
Manjunath S22-Aug-06 8:46
Manjunath S22-Aug-06 8:46 
AnswerRe: Hide window Pin
Jun Du22-Aug-06 9:39
Jun Du22-Aug-06 9:39 
AnswerRe: Hide window Pin
eusto22-Aug-06 9:44
eusto22-Aug-06 9:44 
QuestionError: Run-Time Check Failure #2 - Stack around the variable 'password' was corrupted. Pin
jon-8022-Aug-06 7:59
professionaljon-8022-Aug-06 7:59 
AnswerRe: Error: Run-Time Check Failure #2 - Stack around the variable 'password' was corrupted. Pin
Cedric Moonen22-Aug-06 8:23
Cedric Moonen22-Aug-06 8:23 
GeneralRe: Error: Run-Time Check Failure #2 - Stack around the variable 'password' was corrupted. Pin
jon-8022-Aug-06 8:42
professionaljon-8022-Aug-06 8:42 

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.