Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tooltips in a dialog based application Pin
Selvam R16-Feb-04 21:10
professionalSelvam R16-Feb-04 21:10 
GeneralHELP, Run time error - Pure virtual function call Pin
Md Saleem Navalur16-Feb-04 18:35
Md Saleem Navalur16-Feb-04 18:35 
GeneralRe: HELP, Run time error - Pure virtual function call Pin
John M. Drescher16-Feb-04 19:18
John M. Drescher16-Feb-04 19:18 
GeneralRe: HELP, Run time error - Pure virtual function call Pin
Prakash Nadar16-Feb-04 19:32
Prakash Nadar16-Feb-04 19:32 
GeneralRe: HELP, Run time error - Pure virtual function call Pin
Steve S17-Feb-04 2:23
Steve S17-Feb-04 2:23 
GeneralRe: HELP, Run time error - Pure virtual function call Pin
Prakash Nadar17-Feb-04 3:27
Prakash Nadar17-Feb-04 3:27 
GeneralRe: HELP, Run time error - Pure virtual function call Pin
Roger Allen17-Feb-04 6:37
Roger Allen17-Feb-04 6:37 
GeneralRe: HELP, Run time error - Pure virtual function call Pin
Prakash Nadar17-Feb-04 14:53
Prakash Nadar17-Feb-04 14:53 
Roger Allen wrote:
as the compiler has to construct the base classes first

yeah true, so when the consturctor body is executing the base class initialation is over.
So again i didnt find the code problematic.

eg:

class CDerived: public CBase
{
public:
CDerived() : m_somethingofbaseclass(56) //Wrong
{
};
CDerived()
{
m_somethingofbaseclass = 0; //Perfectly Rite.
pBase->SomeMethod(); //Correct;
}
.
.
.
}

You see constructor is used for initialaztion of the class, wheather the derived class or the base class. So When the body of the constructor is executing, the lower leve or the invisible level like vtables initialazation is over.


"When death smiles at you, only thing you can do is smile back at it" - Russel Crowe (Gladiator)
GeneralWorking with Images and Dialogs Pin
dkmorris199916-Feb-04 18:32
dkmorris199916-Feb-04 18:32 
GeneralRe: Working with Images and Dialogs Pin
erkanina16-Feb-04 21:51
erkanina16-Feb-04 21:51 
Generalconstant tooltip over cwnd derived control Pin
Atif Mushtaq16-Feb-04 18:22
Atif Mushtaq16-Feb-04 18:22 
GeneralRe: constant tooltip over cwnd derived control Pin
satadru16-Feb-04 18:42
satadru16-Feb-04 18:42 
GeneralRe: constant tooltip over cwnd derived control Pin
Atif Mushtaq17-Feb-04 18:25
Atif Mushtaq17-Feb-04 18:25 
QuestionHow to power-off computer on Win9x? Pin
Abin16-Feb-04 18:09
Abin16-Feb-04 18:09 
AnswerRe: How to power-off computer on Win9x? Pin
Selvam R16-Feb-04 20:58
professionalSelvam R16-Feb-04 20:58 
GeneralRe: How to power-off computer on Win9x? Pin
Abin16-Feb-04 22:28
Abin16-Feb-04 22:28 
AnswerRe: How to power-off computer on Win9x? Pin
Selvam R16-Feb-04 22:38
professionalSelvam R16-Feb-04 22:38 
QuestionHow can detect the vendor of Audio Codec ? Pin
HansonDavid16-Feb-04 17:40
HansonDavid16-Feb-04 17:40 
GeneralVisual Studio.NET 2003 Pin
Gagnon Claude16-Feb-04 17:25
Gagnon Claude16-Feb-04 17:25 
GeneralRe: Visual Studio.NET 2003 Pin
Selvam R16-Feb-04 21:02
professionalSelvam R16-Feb-04 21:02 
GeneralHelp! for access the parallel port Pin
jfk_lili16-Feb-04 16:55
jfk_lili16-Feb-04 16:55 
GeneralRe: Help! for access the parallel port Pin
John M. Drescher16-Feb-04 17:05
John M. Drescher16-Feb-04 17:05 
GeneralRe: Help! for access the parallel port Pin
John M. Drescher16-Feb-04 17:09
John M. Drescher16-Feb-04 17:09 
GeneralRe: Help! for access the parallel port Pin
Andrew Walker16-Feb-04 19:49
Andrew Walker16-Feb-04 19:49 
Questionhow to read the CD_ROM sectors Pin
longdafeng16-Feb-04 15:15
longdafeng16-Feb-04 15:15 

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.