Click here to Skip to main content
15,913,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: virtual detstruct question when multi derived Pin
toxcct8-Nov-05 4:34
toxcct8-Nov-05 4:34 
QuestionRe: virtual detstruct question when multi derived Pin
Bob Stanneveld8-Nov-05 5:51
Bob Stanneveld8-Nov-05 5:51 
AnswerRe: virtual detstruct question when multi derived Pin
Maximilien8-Nov-05 6:40
Maximilien8-Nov-05 6:40 
GeneralRe: virtual detstruct question when multi derived Pin
Bob Stanneveld8-Nov-05 21:57
Bob Stanneveld8-Nov-05 21:57 
AnswerRe: virtual detstruct question when multi derived Pin
toxcct8-Nov-05 6:58
toxcct8-Nov-05 6:58 
GeneralRe: virtual detstruct question when multi derived Pin
Bob Stanneveld8-Nov-05 21:53
Bob Stanneveld8-Nov-05 21:53 
AnswerRe: virtual detstruct question when multi derived Pin
followait8-Nov-05 15:03
followait8-Nov-05 15:03 
GeneralRe: virtual detstruct question when multi derived Pin
Bob Stanneveld8-Nov-05 21:52
Bob Stanneveld8-Nov-05 21:52 
Hello,

I think that when the runtime destroys your object, it sees that it is instantiated from multiple classes (the inheritance). The runtime then starts to look for all appropriate destructors in the virtual function table. This is done because the runtime must call more than one destructor. When the runtime detects that one of the destructors is 'missing' in the v-tables, it crashes since it doesn't know what to do.



Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
GeneralRe: virtual detstruct question when multi derived Pin
Blake Miller9-Nov-05 5:43
Blake Miller9-Nov-05 5:43 
QuestionCRC-16 Convert to vb.Net Pin
RichardBerry8-Nov-05 3:55
RichardBerry8-Nov-05 3:55 
Questionclicking the titlebar Pin
bonosa8-Nov-05 3:54
bonosa8-Nov-05 3:54 
AnswerRe: clicking the titlebar Pin
Rage8-Nov-05 4:03
professionalRage8-Nov-05 4:03 
QuestionSetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 3:38
LittleYellowBird8-Nov-05 3:38 
AnswerRe: SetWindowText Problem in Release Version Pin
toxcct8-Nov-05 3:57
toxcct8-Nov-05 3:57 
GeneralRe: SetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 4:29
LittleYellowBird8-Nov-05 4:29 
AnswerRe: SetWindowText Problem in Release Version Pin
Rage8-Nov-05 3:57
professionalRage8-Nov-05 3:57 
QuestionRe: SetWindowText Problem in Release Version Pin
David Crow8-Nov-05 4:49
David Crow8-Nov-05 4:49 
GeneralRe: SetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 4:46
LittleYellowBird8-Nov-05 4:46 
AnswerRe: SetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 5:18
LittleYellowBird8-Nov-05 5:18 
GeneralRe: SetWindowText Problem in Release Version Pin
Rage8-Nov-05 5:54
professionalRage8-Nov-05 5:54 
GeneralRe: SetWindowText Problem in Release Version Pin
David Crow8-Nov-05 6:08
David Crow8-Nov-05 6:08 
GeneralRe: SetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 21:44
LittleYellowBird8-Nov-05 21:44 
GeneralRe: SetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 22:13
LittleYellowBird8-Nov-05 22:13 
GeneralRe: SetWindowText Problem in Release Version Pin
Rage15-Nov-05 21:18
professionalRage15-Nov-05 21:18 
GeneralRe: SetWindowText Problem in Release Version Pin
LittleYellowBird30-Nov-05 5:14
LittleYellowBird30-Nov-05 5:14 

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.