Click here to Skip to main content
15,902,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Virtual base class constructor Pin
CPallini23-Mar-08 22:25
mveCPallini23-Mar-08 22:25 
GeneralRe: Virtual base class constructor Pin
George_George23-Mar-08 22:53
George_George23-Mar-08 22:53 
GeneralRe: Virtual base class constructor Pin
CPallini23-Mar-08 23:45
mveCPallini23-Mar-08 23:45 
GeneralRe: Virtual base class constructor Pin
George_George24-Mar-08 0:11
George_George24-Mar-08 0:11 
GeneralRe: Virtual base class constructor Pin
CPallini24-Mar-08 0:29
mveCPallini24-Mar-08 0:29 
GeneralRe: Virtual base class constructor Pin
George_George24-Mar-08 3:01
George_George24-Mar-08 3:01 
GeneralRe: Virtual base class constructor Pin
CPallini24-Mar-08 6:11
mveCPallini24-Mar-08 6:11 
GeneralRe: Virtual base class constructor Pin
George_George24-Mar-08 21:26
George_George24-Mar-08 21:26 
Thanks CPallini,


I read your great reply again. Here is what I am interested and confused,

--------------------
[0] 0x0041111d [thunk]:ABAC::do_things`adjustor{12}' (int) *
--------------------

1.

I think it means at location 0x0041111d, there is a place holder function, [thunk]:ABAC::do_things, and its job is simply redirect calls the vtable entry in AB, right?

2.

--------------------
the offset (equalt to 12 decimal, 0xC hex) needed to align vftable'{for `AC'} to ::`vftable'{for `AB'} (0x00415740 + 0x0000000c = 0x0041574c).
--------------------

I am interested in the function align. Is it a MSVC built-in private function? How do you know the align rule of the align source and align destination? -- Which in this case align vftable'{for `AC'} to ::`vftable'{for `AB'}, why it does not align from something else to something else?


regards,
George
GeneralRe: Virtual base class constructor Pin
CPallini24-Mar-08 23:36
mveCPallini24-Mar-08 23:36 
GeneralRe: Virtual base class constructor Pin
George_George25-Mar-08 3:00
George_George25-Mar-08 3:00 
GeneralRe: Virtual base class constructor Pin
CPallini25-Mar-08 5:08
mveCPallini25-Mar-08 5:08 
GeneralRe: Virtual base class constructor Pin
George_George25-Mar-08 20:36
George_George25-Mar-08 20:36 
GeneralRe: Virtual base class constructor Pin
CPallini25-Mar-08 22:45
mveCPallini25-Mar-08 22:45 
GeneralRe: Virtual base class constructor Pin
George_George25-Mar-08 23:30
George_George25-Mar-08 23:30 
Generalcode for active x controls in vc++ Pin
kumartnvr23-Mar-08 2:54
kumartnvr23-Mar-08 2:54 
GeneralRe: code for active x controls in vc++ Pin
CPallini23-Mar-08 4:20
mveCPallini23-Mar-08 4:20 
Generalextended style problem, compiles but not take effect Pin
followait22-Mar-08 22:49
followait22-Mar-08 22:49 
QuestionRe: extended style problem, compiles but not take effect Pin
CPallini23-Mar-08 0:30
mveCPallini23-Mar-08 0:30 
GeneralRe: extended style problem, compiles but not take effect Pin
followait23-Mar-08 0:57
followait23-Mar-08 0:57 
Questioni want to make usb control system~give me tip please~ Pin
Jung Seng Won22-Mar-08 19:27
Jung Seng Won22-Mar-08 19:27 
GeneralRe: i want to make usb control system~give me tip please~ Pin
CPallini23-Mar-08 0:36
mveCPallini23-Mar-08 0:36 
QuestionUnhandle exception in DAO350.dll Pin
clever10122-Mar-08 17:27
clever10122-Mar-08 17:27 
GeneralRe: Unhandle exception in DAO350.dll Pin
Mark Salsbery23-Mar-08 7:17
Mark Salsbery23-Mar-08 7:17 
QuestionHow to submit (ie control) Pin
chinakknd22-Mar-08 16:05
chinakknd22-Mar-08 16:05 
AnswerRe: How to submit (ie control) Pin
Rajkumar R22-Mar-08 23:56
Rajkumar R22-Mar-08 23:56 

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.