Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
George_George wrote:
1.

For the later binding case (suppose client will use invoke, other than vtabke), I am wondering during compile/build phase, how will the client (C++, VB, VBScript, etc.) utilize the TLB file? Does the contained interface function information be read and checked?

(I think the answer is no)


Type libraries are not used in late binding case.

George_George wrote:
So, all the interface/function/parameter checking work in done during runtime?


Yes this the automation mechanism.
Automation client need only IDispatch interface, all of the server functionality is accessed via IDispatch methods (i.e. GetIDsOfNames, Invoke, ..)

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


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 
GeneralRe: File Comparison in VC++6.0 Pin
seshi_hari14-Feb-08 23:29
seshi_hari14-Feb-08 23:29 
GeneralRe: File Comparison in VC++6.0 Pin
Rajesh R Subramanian15-Feb-08 0:12
professionalRajesh R Subramanian15-Feb-08 0:12 
GeneralRe: File Comparison in VC++6.0 Pin
Nemanja Trifunovic15-Feb-08 3:54
Nemanja Trifunovic15-Feb-08 3:54 
Generalchecking for instance validity Pin
rp_suman14-Feb-08 21:26
rp_suman14-Feb-08 21:26 
GeneralRe: checking for instance validity Pin
Cedric Moonen14-Feb-08 21:29
Cedric Moonen14-Feb-08 21:29 

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.