Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to show CFormView Pin
Odiee24-Jan-06 2:47
Odiee24-Jan-06 2:47 
AnswerRe: how to show CFormView Pin
Vipin Aravind24-Jan-06 3:21
Vipin Aravind24-Jan-06 3:21 
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 
What error is generated ? Please, when you have errors, crashes and things like try to be as complete as possible. This will help people to understand better your problem.

vikas amin wrote:
i
use a Base ptr to point to Derived Object


It is not the case in your sample code. In your code, you just use the base class.

vikas amin wrote:
class Derived: public Base ,virtual temp


Also, what has this virutal temp to do there ?

If you are using a base pointer that has been allocated as an derived class (Base* ptr = new Derived;), if you don't specify that your destructor is virtual, then only the destructor of your base class will be called thus this may result in memory leaks (and other problem if you have specific clean-up code in the destructor of your Derived class)
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 
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 

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.