Click here to Skip to main content
15,921,279 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow proxy binds to original coclass object? Pin
George_George6-Aug-08 18:47
George_George6-Aug-08 18:47 
AnswerRe: How proxy binds to original coclass object? Pin
Stephen Hewitt6-Aug-08 19:46
Stephen Hewitt6-Aug-08 19:46 
GeneralRe: How proxy binds to original coclass object? Pin
George_George6-Aug-08 19:55
George_George6-Aug-08 19:55 
GeneralRe: How proxy binds to original coclass object? Pin
Stephen Hewitt6-Aug-08 20:02
Stephen Hewitt6-Aug-08 20:02 
GeneralRe: How proxy binds to original coclass object? Pin
George_George6-Aug-08 20:12
George_George6-Aug-08 20:12 
GeneralRe: How proxy binds to original coclass object? Pin
Stephen Hewitt6-Aug-08 20:16
Stephen Hewitt6-Aug-08 20:16 
GeneralRe: How proxy binds to original coclass object? Pin
George_George6-Aug-08 20:23
George_George6-Aug-08 20:23 
GeneralRe: How proxy binds to original coclass object? Pin
Stephen Hewitt6-Aug-08 20:28
Stephen Hewitt6-Aug-08 20:28 
George_George wrote:
my question is how could proxy object know which is the original coclass object which it will send call parameters to and retrive return result from?


The proxy knows nothing about coclasses, all it knows about is interfacees. When you marshal the interface you obviously supply a pointer to the interface to be marshalled, and you also supply its IID: this is all the information COM needs from you to hook things up.

Steve

GeneralRe: How proxy binds to original coclass object? Pin
George_George6-Aug-08 20:47
George_George6-Aug-08 20:47 
GeneralRe: How proxy binds to original coclass object? Pin
Stephen Hewitt6-Aug-08 20:53
Stephen Hewitt6-Aug-08 20:53 
GeneralRe: How proxy binds to original coclass object? Pin
George_George6-Aug-08 21:26
George_George6-Aug-08 21:26 
GeneralRe: How proxy binds to original coclass object? Pin
Stephen Hewitt6-Aug-08 21:33
Stephen Hewitt6-Aug-08 21:33 
GeneralRe: How proxy binds to original coclass object? Pin
George_George6-Aug-08 21:52
George_George6-Aug-08 21:52 
GeneralRe: How proxy binds to original coclass object? Pin
Stephen Hewitt6-Aug-08 22:06
Stephen Hewitt6-Aug-08 22:06 
GeneralRe: How proxy binds to original coclass object? Pin
George_George6-Aug-08 23:34
George_George6-Aug-08 23:34 
GeneralRe: How proxy binds to original coclass object? Pin
Stephen Hewitt7-Aug-08 14:41
Stephen Hewitt7-Aug-08 14:41 
GeneralRe: How proxy binds to original coclass object? Pin
George_George9-Aug-08 0:07
George_George9-Aug-08 0:07 
QuestionUSB Device Data Read Pin
vcprog6-Aug-08 18:24
vcprog6-Aug-08 18:24 
AnswerRe: USB Device Data Read Pin
ptr_Electron6-Aug-08 18:59
ptr_Electron6-Aug-08 18:59 
GeneralRe: USB Device Data Read Pin
vcprog6-Aug-08 19:31
vcprog6-Aug-08 19:31 
GeneralRe: USB Device Data Read Pin
ptr_Electron6-Aug-08 20:07
ptr_Electron6-Aug-08 20:07 
GeneralRe: USB Device Data Read Pin
vcprog6-Aug-08 20:16
vcprog6-Aug-08 20:16 
GeneralRe: USB Device Data Read Pin
vcprog6-Aug-08 21:00
vcprog6-Aug-08 21:00 
GeneralRe: USB Device Data Read Pin
vcprog6-Aug-08 21:12
vcprog6-Aug-08 21:12 
GeneralRe: USB Device Data Read Pin
ptr_Electron6-Aug-08 21:48
ptr_Electron6-Aug-08 21:48 

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.