Click here to Skip to main content
15,911,306 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: compile error about destructor Pin
George_George25-Jan-08 3:35
George_George25-Jan-08 3:35 
GeneralRe: compile error about destructor Pin
David Crow25-Jan-08 3:43
David Crow25-Jan-08 3:43 
GeneralRe: compile error about destructor Pin
George_George25-Jan-08 4:02
George_George25-Jan-08 4:02 
GeneralRe: compile error about destructor Pin
led mike25-Jan-08 4:25
led mike25-Jan-08 4:25 
GeneralRe: compile error about destructor Pin
George_George25-Jan-08 18:20
George_George25-Jan-08 18:20 
GeneralRe: compile error about destructor Pin
David Crow25-Jan-08 2:39
David Crow25-Jan-08 2:39 
GeneralRe: compile error about destructor Pin
George_George25-Jan-08 2:48
George_George25-Jan-08 2:48 
GeneralRe: compile error about destructor Pin
David Crow25-Jan-08 2:56
David Crow25-Jan-08 2:56 
George_George wrote:
2. If you change to try/catch, it is fine.


As opposed to SEH, C++ exception handling model supports "stack unwinding". It is aware of automatic objects, and it calls their destructors.

George_George wrote:
I do not know why.


Now you do.

"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: compile error about destructor Pin
George_George25-Jan-08 3:09
George_George25-Jan-08 3:09 
GeneralRe: compile error about destructor Pin
David Crow25-Jan-08 3:20
David Crow25-Jan-08 3:20 
GeneralRe: compile error about destructor Pin
George_George25-Jan-08 3:28
George_George25-Jan-08 3:28 
GeneralRe: compile error about destructor Pin
zengkun10025-Jan-08 3:52
zengkun10025-Jan-08 3:52 
GeneralRe: compile error about destructor Pin
George_George25-Jan-08 3:59
George_George25-Jan-08 3:59 
GeneralRe: compile error about destructor Pin
zengkun10025-Jan-08 4:23
zengkun10025-Jan-08 4:23 
GeneralRe: compile error about destructor Pin
George_George25-Jan-08 18:17
George_George25-Jan-08 18:17 
GeneralUnhandled exception at 0x1b97d783 (mfc71d.dll) in graf.exe: User breakpoint. Pin
Neels24-Jan-08 23:15
Neels24-Jan-08 23:15 
GeneralRe: Unhandled exception at 0x1b97d783 (mfc71d.dll) in graf.exe: User breakpoint. Pin
Iain Clarke, Warrior Programmer24-Jan-08 23:21
Iain Clarke, Warrior Programmer24-Jan-08 23:21 
GeneralRe: Unhandled exception at 0x1b97d783 (mfc71d.dll) in graf.exe: User breakpoint. Pin
CPallini24-Jan-08 23:21
mveCPallini24-Jan-08 23:21 
GeneralRe: Unhandled exception at 0x1b97d783 (mfc71d.dll) in graf.exe: User breakpoint. Pin
Neels24-Jan-08 23:27
Neels24-Jan-08 23:27 
GeneralRe: Unhandled exception at 0x1b97d783 (mfc71d.dll) in graf.exe: User breakpoint. Pin
CPallini24-Jan-08 23:45
mveCPallini24-Jan-08 23:45 
GeneralRe: Unhandled exception at 0x1b97d783 (mfc71d.dll) in graf.exe: User breakpoint. Pin
David Crow25-Jan-08 2:48
David Crow25-Jan-08 2:48 
QuestionMouse Hook Problem on virtual desktop Pin
sharda.bhagwatkar24-Jan-08 22:28
sharda.bhagwatkar24-Jan-08 22:28 
GeneralRe: Mouse Hook Problem on virtual desktop Pin
Iain Clarke, Warrior Programmer24-Jan-08 22:44
Iain Clarke, Warrior Programmer24-Jan-08 22:44 
GeneralRe: Mouse Hook Problem on virtual desktop Pin
sharda.bhagwatkar27-Jan-08 18:47
sharda.bhagwatkar27-Jan-08 18:47 
GeneralMDI Facelift for Vista Pin
baerten24-Jan-08 22:11
baerten24-Jan-08 22:11 

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.