Click here to Skip to main content
15,907,231 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help - need download location for Visual studio 6 Pin
Mark Salsbery2-Feb-08 7:47
Mark Salsbery2-Feb-08 7:47 
GeneralRe: Help - need download location for Visual studio 6 Pin
Gary R. Wheeler3-Feb-08 0:59
Gary R. Wheeler3-Feb-08 0:59 
GeneralRe: Help - need download location for Visual studio 6 Pin
Mark Salsbery3-Feb-08 6:20
Mark Salsbery3-Feb-08 6:20 
GeneralRe: Help - need download location for Visual studio 6 Pin
Gary R. Wheeler4-Feb-08 23:57
Gary R. Wheeler4-Feb-08 23:57 
GeneralRe: Help - need download location for Visual studio 6 Pin
Mark Salsbery5-Feb-08 5:26
Mark Salsbery5-Feb-08 5:26 
GeneralRe: Help - need download location for Visual studio 6 Pin
Gary R. Wheeler5-Feb-08 13:04
Gary R. Wheeler5-Feb-08 13:04 
GeneralAdding items to the Flash context menu Pin
Alberto Bar-Noy2-Feb-08 4:10
Alberto Bar-Noy2-Feb-08 4:10 
Generalvirtual function not in vtable Pin
George_George2-Feb-08 3:19
George_George2-Feb-08 3:19 
Hello everyone,


Here is my more simplified case to show virtual function is missing in vtable. In class Goo, function myFunc is missing in vtable, but in class Zoo, it is ok to contain virtual function zoo_func.

class Foo {

	virtual int func1() = 0;
	virtual int func2() = 0;
	virtual int func3() {return 0;}
};

class Goo: Foo {
public:
	virtual int func1() {return 0;}
	virtual int func2() {return 0;}
	virtual int myFunc() {return 1;}
};

class Zoo {

public:

	virtual int zoo_func() {return 0;}
};

int main()
{
	Goo g;
	Zoo z;
	return 0;
}



thanks in advance,
George
GeneralRe: virtual function not in vtable [modified] Pin
CPallini2-Feb-08 4:49
mveCPallini2-Feb-08 4:49 
GeneralRe: virtual function not in vtable Pin
George_George2-Feb-08 18:09
George_George2-Feb-08 18:09 
GeneralRe: virtual function not in vtable Pin
CPallini2-Feb-08 23:04
mveCPallini2-Feb-08 23:04 
GeneralRe: virtual function not in vtable Pin
George_George2-Feb-08 23:07
George_George2-Feb-08 23:07 
GeneralRe: virtual function not in vtable Pin
CPallini3-Feb-08 0:28
mveCPallini3-Feb-08 0:28 
GeneralRe: virtual function not in vtable Pin
George_George3-Feb-08 13:55
George_George3-Feb-08 13:55 
General[Message Deleted] Pin
Davros2-Feb-08 1:06
Davros2-Feb-08 1:06 
GeneralRe: VS2005 toolbar messages Pin
Mark Salsbery2-Feb-08 7:45
Mark Salsbery2-Feb-08 7:45 
GeneralRe: VS2005 toolbar messages Pin
Davros2-Feb-08 8:08
Davros2-Feb-08 8:08 
GeneralRe: VS2005 toolbar messages Pin
Mark Salsbery2-Feb-08 8:18
Mark Salsbery2-Feb-08 8:18 
GeneralRe: VS2005 toolbar messages Pin
Davros3-Feb-08 0:15
Davros3-Feb-08 0:15 
GeneralRe: VS2005 toolbar messages Pin
Davros4-Feb-08 8:13
Davros4-Feb-08 8:13 
QuestionHow to run NT Service on Windows Vista Pin
Abhijit A2-Feb-08 0:12
Abhijit A2-Feb-08 0:12 
AnswerRe: How to run NT Service on Windows Vista Pin
Mark Salsbery2-Feb-08 7:52
Mark Salsbery2-Feb-08 7:52 
GeneralVirtual function and multiple inheritance Pin
George_George1-Feb-08 21:12
George_George1-Feb-08 21:12 
GeneralRe: Virtual function and multiple inheritance Pin
Bram van Kampen1-Feb-08 22:50
Bram van Kampen1-Feb-08 22:50 
GeneralRe: Virtual function and multiple inheritance Pin
George_George1-Feb-08 23:14
George_George1-Feb-08 23:14 

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.