Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dual interface for IDispatch Pin
CPallini14-Feb-08 23:29
mveCPallini14-Feb-08 23:29 
GeneralRe: dual interface for IDispatch Pin
George_George14-Feb-08 23:52
George_George14-Feb-08 23:52 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 0:02
mveCPallini15-Feb-08 0:02 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 0:05
George_George15-Feb-08 0:05 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 0:22
mveCPallini15-Feb-08 0:22 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 0:34
George_George15-Feb-08 0:34 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 1:18
mveCPallini15-Feb-08 1:18 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 1:30
George_George15-Feb-08 1:30 
Thanks CPallini,


1.

CPallini wrote:
In practice you use IDispatch on VTABLE capable client only if you need late binding.


You mean QueryInterface for IDispatch interface? What mean later binding?

2.

CPallini wrote:
You can always use VTABLE on all of the COM Interfaces. what dual really means is that the same functionalities that you can access via IDispatch mechanism are also available as standard COM methods (i.e. are part of the interface itself).


So you mean even if we do not explicitly add dual to the property, we can still use dual (by vtable and by IDispatch.invoke()) functions if underlying component support it?

If yes, what is the function of dual keyword? It does not enforce anything strictly, right?

(non-dual does not mean there is single -- IDispatch.invoke -- method to access component)


regards,
George
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 2:29
mveCPallini15-Feb-08 2:29 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 2:46
George_George15-Feb-08 2:46 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 3:10
mveCPallini15-Feb-08 3:10 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 3:41
George_George15-Feb-08 3:41 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 4:01
mveCPallini15-Feb-08 4:01 
GeneralRe: dual interface for IDispatch Pin
George_George16-Feb-08 22:33
George_George16-Feb-08 22:33 
GeneralRe: dual interface for IDispatch Pin
CPallini16-Feb-08 23:04
mveCPallini16-Feb-08 23:04 
GeneralRe: dual interface for IDispatch Pin
George_George16-Feb-08 23:32
George_George16-Feb-08 23:32 
GeneralRe: dual interface for IDispatch Pin
Rajkumar R15-Feb-08 0:14
Rajkumar R15-Feb-08 0:14 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 0:28
George_George15-Feb-08 0:28 
GeneralRe: dual interface for IDispatch Pin
Rajkumar R15-Feb-08 4:43
Rajkumar R15-Feb-08 4:43 
GeneralRe: dual interface for IDispatch Pin
George_George16-Feb-08 22:36
George_George16-Feb-08 22:36 
GeneralRe: dual interface for IDispatch Pin
Rajkumar R17-Feb-08 0:09
Rajkumar R17-Feb-08 0:09 
GeneralRe: dual interface for IDispatch Pin
George_George17-Feb-08 0:23
George_George17-Feb-08 0:23 
QuestionFile Comparison in VC++6.0 Pin
seshi_hari14-Feb-08 21:36
seshi_hari14-Feb-08 21:36 
GeneralRe: File Comparison in VC++6.0 Pin
Cedric Moonen14-Feb-08 21:41
Cedric Moonen14-Feb-08 21:41 
GeneralRe: File Comparison in VC++6.0 Pin
Rajesh R Subramanian14-Feb-08 21:43
professionalRajesh R Subramanian14-Feb-08 21:43 

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.