Click here to Skip to main content
15,888,521 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC new should throw Pin
Chuck O'Toole10-Nov-11 16:41
Chuck O'Toole10-Nov-11 16:41 
GeneralRe: MFC new should throw Pin
bob1697210-Nov-11 21:11
bob1697210-Nov-11 21:11 
AnswerRe: MFC new should throw Pin
Chuck O'Toole11-Nov-11 1:57
Chuck O'Toole11-Nov-11 1:57 
GeneralRe: MFC new should throw Pin
bob1697211-Nov-11 14:53
bob1697211-Nov-11 14:53 
GeneralRe: MFC new should throw Pin
Richard MacCutchan10-Nov-11 21:32
mveRichard MacCutchan10-Nov-11 21:32 
GeneralRe: MFC new should throw Pin
bob1697211-Nov-11 15:01
bob1697211-Nov-11 15:01 
AnswerRe: MFC new should throw Pin
Stefan_Lang10-Nov-11 2:13
Stefan_Lang10-Nov-11 2:13 
GeneralRe: MFC new should throw Pin
Orjan Westin10-Nov-11 3:28
professionalOrjan Westin10-Nov-11 3:28 
In this case, the compiler is not at fault. Since VC2005, Visual C++ compilers have been good at adhering to the standard, and has largely been at par with the other compilers out there in that regard.

In VC2008, new throws as it should, but the code in the question above is automatically generated, and that generator has apparently not been updated since the bad old days of VC6.0

Since Herb Sutter - the convener of the C++ standards committee - started working for Microsoft as an architect in the developer tools division, they have spent a lot of time and effort on becoming standards-compliant, and you do them a disservice to claim that the recent compilers are as bad as the steaming pile of wossname that VC6 is.
GeneralRe: MFC new should throw Pin
Stefan_Lang10-Nov-11 3:35
Stefan_Lang10-Nov-11 3:35 
Questiondev-c++ Pin
RealHigh9-Nov-11 9:25
RealHigh9-Nov-11 9:25 
AnswerRe: dev-c++ Pin
Richard Andrew x649-Nov-11 9:35
professionalRichard Andrew x649-Nov-11 9:35 
GeneralRe: dev-c++ Pin
Albert Holguin9-Nov-11 9:36
professionalAlbert Holguin9-Nov-11 9:36 
GeneralRe: dev-c++ Pin
RealHigh9-Nov-11 12:04
RealHigh9-Nov-11 12:04 
AnswerRe: dev-c++ Pin
Albert Holguin9-Nov-11 9:35
professionalAlbert Holguin9-Nov-11 9:35 
AnswerRe: dev-c++ Pin
Chris Meech9-Nov-11 9:43
Chris Meech9-Nov-11 9:43 
QuestionRe: dev-c++ Pin
David Crow9-Nov-11 10:06
David Crow9-Nov-11 10:06 
AnswerRe: dev-c++ Pin
RealHigh9-Nov-11 13:04
RealHigh9-Nov-11 13:04 
QuestionSign XML Documents with Digital Signatures Pin
dufduf9-Nov-11 2:58
dufduf9-Nov-11 2:58 
Questionplaying video inside any control on my dialog box using direct show??? Pin
VCProgrammer9-Nov-11 0:17
VCProgrammer9-Nov-11 0:17 
AnswerRe: playing video inside any control on my dialog box using direct show??? Pin
Mark Salsbery9-Nov-11 5:20
Mark Salsbery9-Nov-11 5:20 
GeneralRe: playing video inside any control on my dialog box using direct show??? Pin
VCProgrammer9-Nov-11 17:58
VCProgrammer9-Nov-11 17:58 
QuestionDisplaying a bitmap on Static Control Pin
VCProgrammer8-Nov-11 23:13
VCProgrammer8-Nov-11 23:13 
AnswerRe: Displaying a bitmap on Static Control Pin
Richard MacCutchan8-Nov-11 23:20
mveRichard MacCutchan8-Nov-11 23:20 
QuestionXML to binary format Pin
mutpan8-Nov-11 19:00
mutpan8-Nov-11 19:00 
AnswerRe: XML to binary format Pin
Richard MacCutchan8-Nov-11 21:47
mveRichard MacCutchan8-Nov-11 21:47 

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.