Click here to Skip to main content
16,007,443 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionerror : Building MFC application question Pin
monsieur_jj17-Sep-08 20:14
monsieur_jj17-Sep-08 20:14 
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 
You didn't specialize those functions in the Zoo class. vtable are used to redirect a function call to the function of the child class which specialize this function. Here, there's no need to redirect the function call because neither of the child classes specialize the function.

I guess this is the reason (it's only a guess) why it doesn't appear in the table. Remember that the table is filled by the child classes when they are being constructed. So, if the child class doesn't specialize the function, there's no need to add it to the vtable.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

GeneralRe: vtable issue Pin
George_George17-Sep-08 20:21
George_George17-Sep-08 20:21 
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 

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.