Click here to Skip to main content
15,895,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dual interface Pin
SandipG 11-Sep-08 20:38
SandipG 11-Sep-08 20:38 
GeneralRe: dual interface Pin
George_George11-Sep-08 20:50
George_George11-Sep-08 20:50 
GeneralRe: dual interface Pin
CPallini11-Sep-08 21:54
mveCPallini11-Sep-08 21:54 
GeneralRe: dual interface Pin
George_George11-Sep-08 21:58
George_George11-Sep-08 21:58 
GeneralRe: dual interface Pin
CPallini11-Sep-08 22:11
mveCPallini11-Sep-08 22:11 
GeneralRe: dual interface Pin
George_George11-Sep-08 23:02
George_George11-Sep-08 23:02 
GeneralRe: dual interface Pin
Swathee11-Sep-08 22:44
Swathee11-Sep-08 22:44 
GeneralRe: dual interface Pin
George_George11-Sep-08 23:09
George_George11-Sep-08 23:09 
Thanks sw@thi,


1.

You mentioned twice about "invoke its methods through vtable". My confusion is what exactly mean "through vtable". I think you mean QueryInterface for interface IX for the coclass object, and invoke the exposed methods in IX is through vtable of coclass object for interface IX. Correct?

2.

sw@thi wrote:
3,4. Don't know what you mean by customized interface.


Customized interface I mean any C++ eligible interface which is not IDispatch and IUnknown, and in 3 the customized interface inherits IUnknown and in 4 the customized interface inherits IDispatch. From my description, do you think my points for 3 and 4 are both correct?


regards,
George
GeneralRe: dual interface [modified] Pin
SandipG 11-Sep-08 22:13
SandipG 11-Sep-08 22:13 
GeneralRe: dual interface Pin
CPallini11-Sep-08 22:33
mveCPallini11-Sep-08 22:33 
GeneralRe: dual interface Pin
George_George11-Sep-08 22:56
George_George11-Sep-08 22:56 
GeneralRe: dual interface Pin
CPallini11-Sep-08 23:05
mveCPallini11-Sep-08 23:05 
GeneralRe: dual interface Pin
SandipG 11-Sep-08 23:12
SandipG 11-Sep-08 23:12 
GeneralRe: dual interface Pin
George_George11-Sep-08 23:14
George_George11-Sep-08 23:14 
GeneralRe: dual interface Pin
CPallini11-Sep-08 23:32
mveCPallini11-Sep-08 23:32 
GeneralRe: dual interface Pin
George_George11-Sep-08 23:13
George_George11-Sep-08 23:13 
GeneralRe: dual interface Pin
CPallini11-Sep-08 23:45
mveCPallini11-Sep-08 23:45 
GeneralRe: dual interface Pin
George_George11-Sep-08 23:48
George_George11-Sep-08 23:48 
GeneralRe: dual interface Pin
CPallini12-Sep-08 0:44
mveCPallini12-Sep-08 0:44 
GeneralRe: dual interface Pin
George_George12-Sep-08 19:48
George_George12-Sep-08 19:48 
GeneralRe: dual interface Pin
Scott Holt12-Sep-08 14:38
Scott Holt12-Sep-08 14:38 
GeneralRe: dual interface Pin
George_George12-Sep-08 19:58
George_George12-Sep-08 19:58 
GeneralRe: dual interface Pin
Scott Holt13-Sep-08 1:25
Scott Holt13-Sep-08 1:25 
GeneralRe: dual interface Pin
George_George14-Sep-08 0:16
George_George14-Sep-08 0:16 
GeneralRe: dual interface Pin
Scott Holt16-Sep-08 9:24
Scott Holt16-Sep-08 9:24 

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.