Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTooltips in a dialog based application Pin
satadru16-Feb-04 18:45
satadru16-Feb-04 18:45 
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 
But not for any inheriting classes, as the compiler has to construct the base classes first. If you call a virtual function in a base class constructor, the inherited class constructor has yet to complete, so it does not have a valid vtable pointer to the inherited class functions.

MS put this very problem into the CDocTemplate class, where they call a virtual function in the base class constructor. Mad | :mad:

Roger Allen - Sonork 100.10016
Roger Wright: Remember to buckle up, please, and encourage your friends to do the same. It's not just about saving your life, but saving the quality of life for those you may leave behind...
GeneralRe: HELP, Run time error - Pure virtual function call Pin
Prakash Nadar17-Feb-04 14:53
Prakash Nadar17-Feb-04 14:53 
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 

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.