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: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 
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 
George_George wrote:
If I remember correctly (I am not VB expert), in VB to access some object in COM, we have to program in the way above, does it mean VB always use later binding?

2.

Do you mean there are any other ways to access VB in COM, that is not later binding?


No. You can also, for instance, import into your VB6 project the MSComm object as ActiveX control at design time, say MSComm1 and then use it inside code, this way you will use early binding and VTABLE access to the component.


George_George wrote:
3.

Later binding means runtime binding, right? In runtime, using invoke method on the IDispatch interface of the component?


Yes.
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_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 
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 

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.