Click here to Skip to main content
15,850,359 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating Global Objects Pin
CPallini17-Apr-09 10:12
mveCPallini17-Apr-09 10:12 
QuestionV-tables Pin
0x3c017-Apr-09 5:49
0x3c017-Apr-09 5:49 
AnswerRe: V-tables Pin
led mike17-Apr-09 6:49
led mike17-Apr-09 6:49 
GeneralRe: V-tables [modified] Pin
0x3c017-Apr-09 7:48
0x3c017-Apr-09 7:48 
GeneralRe: V-tables Pin
led mike17-Apr-09 8:02
led mike17-Apr-09 8:02 
GeneralRe: V-tables Pin
0x3c018-Apr-09 7:01
0x3c018-Apr-09 7:01 
GeneralRe: V-tables Pin
led mike21-Apr-09 13:01
led mike21-Apr-09 13:01 
GeneralRe: V-tables Pin
0x3c022-Apr-09 7:26
0x3c022-Apr-09 7:26 
What I mean is this. Normally, when the derived class' method is called, the base class' method is not. What I'm looking for is how to make the base' class method be called, and then the derived class' method

Example: I call Bar->DoSomething((void *)0x12345), the parameters are pushed onto the thread's stack, and Bar::DoSomething is invoked. I want the parameters to be pushed, Foo::DoSomething to be called (the base class) and then Bar::DoSomething to be called (the derived class) automatically

If it helps, a little background. I have a Stream base class. It has a LinkedStream property, which refers to a Stream pointer. When I call Stream::Write, I want to call LinkedStream->Write beforehand, then pass the arguments to the derived class' write method
GeneralRe: V-tables Pin
led mike23-Apr-09 5:41
led mike23-Apr-09 5:41 
GeneralRe: V-tables Pin
0x3c023-Apr-09 6:15
0x3c023-Apr-09 6:15 
QuestionSetting the default icon in the registry Pin
Like2Byte17-Apr-09 5:43
Like2Byte17-Apr-09 5:43 
AnswerRe: Setting the default icon in the registry Pin
led mike17-Apr-09 5:49
led mike17-Apr-09 5:49 
QuestionWhy this error happens? How to resolve this ? (Repost : Modified, now the error is different) Pin
kapardhi17-Apr-09 3:55
kapardhi17-Apr-09 3:55 
AnswerRe: Why this error happens? How to resolve this ? (Repost : Modified, now the error is different) Pin
Stuart Dootson17-Apr-09 4:12
professionalStuart Dootson17-Apr-09 4:12 
QuestionRegistry access problem Pin
Mogaambo17-Apr-09 3:08
Mogaambo17-Apr-09 3:08 
AnswerRe: Registry access problem Pin
Jijo.Raj17-Apr-09 3:14
Jijo.Raj17-Apr-09 3:14 
GeneralRe: Registry access problem Pin
Mogaambo17-Apr-09 3:19
Mogaambo17-Apr-09 3:19 
GeneralRe: Registry access problem Pin
Mogaambo17-Apr-09 3:27
Mogaambo17-Apr-09 3:27 
GeneralRe: Registry access problem Pin
Cedric Moonen17-Apr-09 3:31
Cedric Moonen17-Apr-09 3:31 
Question[DirectX9.0]How to retrive vector from Camera setting's View Matrix Pin
kallol kumar17-Apr-09 3:04
kallol kumar17-Apr-09 3:04 
QuestionA question about Assert function Pin
Obsidianhom17-Apr-09 2:10
Obsidianhom17-Apr-09 2:10 
AnswerRe: A question about Assert function Pin
Cedric Moonen17-Apr-09 2:14
Cedric Moonen17-Apr-09 2:14 
GeneralRe: A question about Assert function Pin
China_Kevin17-Apr-09 3:58
China_Kevin17-Apr-09 3:58 
GeneralRe: A question about Assert function Pin
Cedric Moonen17-Apr-09 4:00
Cedric Moonen17-Apr-09 4:00 
GeneralRe: A question about Assert function Pin
China_Kevin17-Apr-09 4:26
China_Kevin17-Apr-09 4:26 

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.