Re: MBV question #324: how to pass a MBV object in a VARIANT?
No, I'm not sure - I said I haven't experimented. My understanding
was that with custom marshaling there's no proxy manager
object created at the caller site, but I may be wrong. I certainly
haven't considered the case of mixed marshaling you brought up...
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Igor Tandetnik" <itandetnik@mvps.org> wrote in message
news:%23fAupcCQHHA.1552@TK2MSFTNGP05.phx.gbl...
"Alexander Nickolov" <agnickolov@mvps.org> wrote in message
news:e4bqDrBQHHA.3624@TK2MSFTNGP05.phx.gbl
Custom marshaling is handled on per object basis
Are you sure? All IMarshal methods take an IID of the interface being
marshalled. What prevents me from implementing a custom proxy for some
interfaces, and delegating to standard marshaller for others? Granted,
it's not clear why I would want to do that, but what makes it technically
impossible?
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925