Click here to Skip to main content
15,921,716 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: error : Building MFC application question Pin
Cedric Moonen17-Sep-08 20:50
Cedric Moonen17-Sep-08 20:50 
GeneralRe: error : Building MFC application question Pin
monsieur_jj17-Sep-08 20:53
monsieur_jj17-Sep-08 20:53 
AnswerRe: error : Building MFC application question Pin
RYU^^17-Sep-08 21:02
RYU^^17-Sep-08 21:02 
GeneralRe: error : Building MFC application question Pin
monsieur_jj17-Sep-08 21:06
monsieur_jj17-Sep-08 21:06 
GeneralRe: error : Building MFC application question Pin
C++myLife17-Sep-08 21:23
C++myLife17-Sep-08 21:23 
Questionvtable issue Pin
George_George17-Sep-08 19:11
George_George17-Sep-08 19:11 
AnswerRe: vtable issue Pin
Cedric Moonen17-Sep-08 20:14
Cedric Moonen17-Sep-08 20:14 
GeneralRe: vtable issue Pin
George_George17-Sep-08 20:21
George_George17-Sep-08 20:21 
Hi Cedric,


1.

I am confused about your term of "specialize this function". Do you mean overriding?

2.

"vtable are used to redirect a function call to the function of the child class" -- I disagree vtable is used for redirecting to child class, but I think it is used for find the actual function to call through run time type identification. We may call the function is current class if we have overriden function in current class, and we may call function in based class if we have not overridden the function in current class.

But I think whether or not we override, all visible virtual functions (including inherited ones) should be in vtable. Any comments or ideas?


regards,
George
GeneralRe: vtable issue Pin
Cedric Moonen17-Sep-08 20:42
Cedric Moonen17-Sep-08 20:42 
GeneralRe: vtable issue Pin
George_George17-Sep-08 22:00
George_George17-Sep-08 22:00 
QuestionRe: vtable issue [modified] Pin
CPallini17-Sep-08 22:21
mveCPallini17-Sep-08 22:21 
AnswerRe: vtable issue Pin
George_George17-Sep-08 23:04
George_George17-Sep-08 23:04 
GeneralRe: vtable issue [modified] Pin
CPallini17-Sep-08 23:08
mveCPallini17-Sep-08 23:08 
GeneralRe: vtable issue Pin
George_George17-Sep-08 23:19
George_George17-Sep-08 23:19 
GeneralRe: vtable issue [modified] Pin
CPallini17-Sep-08 23:29
mveCPallini17-Sep-08 23:29 
GeneralRe: vtable issue Pin
George_George17-Sep-08 23:32
George_George17-Sep-08 23:32 
GeneralRe: vtable issue [modified] Pin
CPallini18-Sep-08 0:04
mveCPallini18-Sep-08 0:04 
GeneralRe: vtable issue Pin
George_George18-Sep-08 0:07
George_George18-Sep-08 0:07 
GeneralRe: vtable issue Pin
CPallini18-Sep-08 0:29
mveCPallini18-Sep-08 0:29 
GeneralRe: vtable issue Pin
George_George18-Sep-08 1:16
George_George18-Sep-08 1:16 
AnswerRe: vtable issue Pin
Cedric Moonen17-Sep-08 23:09
Cedric Moonen17-Sep-08 23:09 
GeneralRe: vtable issue Pin
George_George17-Sep-08 23:21
George_George17-Sep-08 23:21 
GeneralRe: vtable issue Pin
Cedric Moonen17-Sep-08 23:22
Cedric Moonen17-Sep-08 23:22 
GeneralRe: vtable issue Pin
George_George17-Sep-08 23:27
George_George17-Sep-08 23:27 
GeneralRe: vtable issue Pin
Cedric Moonen17-Sep-08 23:43
Cedric Moonen17-Sep-08 23:43 

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.