|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: MBV details
From: Kim Gräsman (kim.grasman
LABS2.COM)
Date: Thu Sep 18 2003 - 04:59:08 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Phil,
Thanks a lot!
I really needed some guidance... I know how this stuff works in theory,
but I've never done it in practice.
> You shouldn't need to know or care... You will need to QI it for
> IMarshal call all the marshalling functions yourself within your
> marshalling code. (i.e. allocate space in your marshalled packet, then
> marshal the interface into that space etc.)
Isn't this effectively the same as just calling CoMarshalInterface on
the apple pointer, and passing the stream on?
> You have to make the decision if it is acceptable/desirable for your
> copies of the bucket to contain references to the same apples, or
> weather you need to copy the apples themselves as well. [...]
> You could always marshal copies of all the apple's properties, create
> new apples on the other side and apply the properties to the
> new apples.
> But that involves you knowing what properties apples have
> beforehand and it may be difficult to recreate the apples state
> (e.g. your marshalling code may have to sleep for a week to
> reproduce the same level of ripeness)
I want the apples to behave just as they would've if I wasn't
marshalling them, so I'd rather not go this route.
Never mess with nature.
Are there any online samples of MBV with interface pointers? I've looked
around a bit, but haven't found anything solid.
Kim
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]