The information in this article applies to:
SUMMARYMarshaling a proxy of an interface belonging to another thread or process is supported with MSHLFLAGS_NORMAL, but it is not supported with MSHLFLAGS_TABLESTRONG or MSHLFLAGS_TABLEWEAK. This means that CoMarshalInterface with MSHLFLAGS_TABLESTRONG/MSHLFLAGS_TABLEWEAK and IRunningObjectTable::Register will return E_INVALIDARG for proxies. MORE INFORMATION
When an interface is marshaled to another thread or process, a proxy of
the interface is created in that thread or process. This proxy cannot be
marshaled again using the MSHLFLAGS_TABLESTRONG or MSHLFLAGS_TABLEWEAK
values of the MSHLFLAGS enumerator. However it can be marshaled using
MSHLFLAGS_NORMAL. Marshaling of interfaces that are not proxies are
supported using any of the MSHLFLAGS enumerator values. Additional query words: 2 OLE2 2.0 2.00
Keywords : kbCOMt kbNTOS351 kbNTOS400 kbWinOS2000 kbWinOS95 kbGrpCom kbDSupport LeTwoArc |
Last Reviewed: October 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |