Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Mon, 28 Nov 2005 07:59:57 +0100,    group: microsoft.public.platformsdk.com_ole        back       


1.) IRpcProxyBuffer must be the nondelegating unknown???   
Hi folks,

I had a very pleasent weekend spent in front of some COM-related
literature. Now I'm confused. I hope you can enlighten me.

1. This is about binary composition. I read the the corresponding
chapter in Don Box's book and got puzzled a bit. Now that I have read it
for the x-th time I think I finally understand the concept of the inner
and the outer IUnknown implementation. When I proceeded to chapter
"standard marshaling architecture" I got tripped over the statement:
"The IRpcProxyBuffer interface must be the nondelegating unknown of the
interface proxy. All other interfaces the proxy exposes must delegate
their IUnknown methods to the proxy manager." (p. 223). Isn't there a
contradiction to the statement in chapter "binary composition" that says
that the outer object must ask for an IUnknown interface pointer of the
aggregated object? And why should the IRpcProxyBuffer interface pointer
of the proxy object have  nondelegating versions of the IUnknown
methods? As I understand life-time management of the aggregated object
can be accomplished by the initalially derived IUnknown pointer of the
inner object.

Stuart
date: Mon, 28 Nov 2005 07:59:57 +0100   author:   Stuart Redmann

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us