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

C / C++ / MFC

 
GeneralRe: Exceptions in destructors Pin
Mark Salsbery15-Jul-07 12:15
Mark Salsbery15-Jul-07 12:15 
GeneralRe: Exceptions in destructors Pin
Paul Conrad15-Jul-07 14:12
professionalPaul Conrad15-Jul-07 14:12 
GeneralRe: Exceptions in destructors Pin
ThatsAlok16-Jul-07 0:44
ThatsAlok16-Jul-07 0:44 
GeneralRe: Exceptions in destructors Pin
Mark Salsbery16-Jul-07 5:10
Mark Salsbery16-Jul-07 5:10 
GeneralRe: Exceptions in destructors Pin
ThatsAlok16-Jul-07 7:13
ThatsAlok16-Jul-07 7:13 
GeneralRe: Exceptions in destructors Pin
Mark Salsbery16-Jul-07 7:21
Mark Salsbery16-Jul-07 7:21 
GeneralRe: Exceptions in destructors Pin
ThatsAlok16-Jul-07 7:28
ThatsAlok16-Jul-07 7:28 
AnswerRe: Exceptions in destructors Pin
skornel015-Jul-07 6:17
skornel015-Jul-07 6:17 
I have used similar code in my remote communications classes. My DTOR will close the comm connection, but if the reason the DTOR is being called is because the connection was already broken/disconnected, I needed to ensure that no exception interrupted the normal DTOR chain.

It may not be quite what the C++ designers had in mind but it works. At least with MS VC++. Besides, if they didn't want it to work, it woud have explicitly stated so in the ARM.

AnswerRe: Exceptions in destructors Pin
Stephen Hewitt15-Jul-07 13:39
Stephen Hewitt15-Jul-07 13:39 
Questiona problem from VC6 to VC2005 Pin
kcynic14-Jul-07 21:33
kcynic14-Jul-07 21:33 
AnswerRe: a problem from VC6 to VC2005 Pin
Mark Salsbery14-Jul-07 21:42
Mark Salsbery14-Jul-07 21:42 
GeneralRe: a problem from VC6 to VC2005 Pin
kcynic15-Jul-07 0:15
kcynic15-Jul-07 0:15 
GeneralRe: a problem from VC6 to VC2005 Pin
#realJSOP15-Jul-07 1:50
professional#realJSOP15-Jul-07 1:50 
GeneralRe: a problem from VC6 to VC2005 Pin
kcynic17-Jul-07 4:02
kcynic17-Jul-07 4:02 
QuestionCalculation of Date Pin
gnowkeenz14-Jul-07 18:22
gnowkeenz14-Jul-07 18:22 
AnswerRe: Calculation of Date Pin
Chris Losinger14-Jul-07 18:58
professionalChris Losinger14-Jul-07 18:58 
AnswerRe: Calculation of Date Pin
ThatsAlok16-Jul-07 0:43
ThatsAlok16-Jul-07 0:43 
Question[Message Deleted] Pin
KevinXLi14-Jul-07 14:53
KevinXLi14-Jul-07 14:53 
AnswerRe: RGB->HSV use SSE Pin
Paul Conrad14-Jul-07 16:42
professionalPaul Conrad14-Jul-07 16:42 
GeneralRe: RGB->HSV use SSE Pin
KevinXLi14-Jul-07 18:22
KevinXLi14-Jul-07 18:22 
GeneralRe: RGB->HSV use SSE Pin
Paul Conrad14-Jul-07 18:35
professionalPaul Conrad14-Jul-07 18:35 
GeneralRe: RGB->HSV use SSE Pin
KevinXLi14-Jul-07 18:47
KevinXLi14-Jul-07 18:47 
GeneralRe: RGB->HSV use SSE Pin
Paul Conrad14-Jul-07 18:51
professionalPaul Conrad14-Jul-07 18:51 
GeneralRe: RGB->HSV use SSE Pin
KevinXLi14-Jul-07 19:00
KevinXLi14-Jul-07 19:00 
GeneralRe: RGB->HSV use SSE Pin
Paul Conrad14-Jul-07 19:02
professionalPaul Conrad14-Jul-07 19:02 

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.