Click here to Skip to main content
15,886,137 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiongracefull shutdown Pin
Rajni Kant24-Jan-06 2:23
Rajni Kant24-Jan-06 2:23 
QuestionCustom combobox Pin
Nishad S24-Jan-06 1:40
Nishad S24-Jan-06 1:40 
AnswerRe: Custom combobox Pin
James Brown24-Jan-06 8:24
James Brown24-Jan-06 8:24 
GeneralRe: Custom combobox Pin
Nishad S24-Jan-06 16:42
Nishad S24-Jan-06 16:42 
QuestionError occure when destructor is not virtual ? Pin
vikas amin24-Jan-06 1:28
vikas amin24-Jan-06 1:28 
AnswerRe: Error occure when destructor is not virtual ? Pin
Cedric Moonen24-Jan-06 2:51
Cedric Moonen24-Jan-06 2:51 
GeneralRe: Error occure when destructor is not virtual ? Pin
vikas amin24-Jan-06 19:22
vikas amin24-Jan-06 19:22 
AnswerRe: Error occure when destructor is not virtual ? Pin
sunit524-Jan-06 6:47
sunit524-Jan-06 6:47 
use a Base ptr to point to Derived Object


so when deived class is instantiated,first base class constuctor will be called then the derived.llarly when the memory allocated to derived object gets cleaned up the reverse should takes place first the destructor of derived must be called and then base destructor.
so if cleaning takes place via base pointer the destructor must be made virtual.
but i suggest u to always make base destructor virtual if u want to derive class form the base class


never say die
QuestionInstaller pack of MFC app. Pin
Aryan S24-Jan-06 1:26
Aryan S24-Jan-06 1:26 
QuestionStatic WndProc() Pin
virtualrush24-Jan-06 1:25
virtualrush24-Jan-06 1:25 
AnswerRe: Static WndProc() Pin
Vipin Aravind24-Jan-06 2:55
Vipin Aravind24-Jan-06 2:55 
AnswerRe: Static WndProc() Pin
Cedric Moonen24-Jan-06 3:02
Cedric Moonen24-Jan-06 3:02 
QuestionCFormView in MDI Pin
anandforu24-Jan-06 0:14
anandforu24-Jan-06 0:14 
AnswerRe: CFormView in MDI Pin
Vipin Aravind24-Jan-06 2:51
Vipin Aravind24-Jan-06 2:51 
GeneralRe: CFormView in MDI Pin
anand_dayalans24-Jan-06 5:40
anand_dayalans24-Jan-06 5:40 
GeneralRe: CFormView in MDI Pin
anand_dayalans24-Jan-06 5:49
anand_dayalans24-Jan-06 5:49 
QuestionCreate TabView for IShellPropSheetExt Pin
souso2024-Jan-06 0:12
souso2024-Jan-06 0:12 
QuestionRemote Task manager Pin
SatyaDY24-Jan-06 0:03
SatyaDY24-Jan-06 0:03 
AnswerRe: Remote Task manager Pin
NarasimhuluM24-Jan-06 0:31
NarasimhuluM24-Jan-06 0:31 
AnswerRe: Remote Task manager Pin
Robsori24-Jan-06 0:33
Robsori24-Jan-06 0:33 
GeneralRe: Remote Task manager Pin
SatyaDY24-Jan-06 2:50
SatyaDY24-Jan-06 2:50 
QuestionSetParent Pin
heajinkim23-Jan-06 23:55
heajinkim23-Jan-06 23:55 
AnswerRe: SetParent Pin
domehead24-Jan-06 6:51
domehead24-Jan-06 6:51 
Questionhow to launch a notepad with the supplied information Pin
rampaul23-Jan-06 23:41
rampaul23-Jan-06 23:41 
AnswerRe: how to launch a notepad with the supplied information Pin
toxcct23-Jan-06 23:50
toxcct23-Jan-06 23:50 

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.