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

C / C++ / MFC

 
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 
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 
Thanks Steve,


Now I understand your points. Let me confirm with you,

1. In the source apartment, the interface pointer contains address to the original coclass object;

2. The pointer to the original coclass object is marshalled, and unmarshalled to another interface in the destination apartment;

3. Since the interface to original coclass object contains address information to the original object, during unmarshalling, the unmarshalled pointer also got the address information to the original coclass object and the address information will be maintained by proxy object;

4. The proxy object knows the interface it implements (IID) and the address information of the original pointer which points to the original coclass object.

Correct understanding?


regards,
George
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 
GeneralRe: USB Device Data Read Pin
vcprog6-Aug-08 23:26
vcprog6-Aug-08 23:26 
GeneralRe: USB Device Data Read Pin
David Crow25-Aug-08 4:17
David Crow25-Aug-08 4:17 
GeneralRe: USB Device Data Read Pin
vcprog6-Aug-08 22:19
vcprog6-Aug-08 22:19 
GeneralRe: USB Device Data Read Pin
ptr_Electron7-Aug-08 0:06
ptr_Electron7-Aug-08 0:06 
GeneralRe: USB Device Data Read Pin
vcprog7-Aug-08 0:35
vcprog7-Aug-08 0:35 

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.