The information in this article applies to:
SUMMARYOn platforms that do not support DCOM, such as Windows 95 without DCOM and versions of NT before NT 4.0, MIDL cannot generate marshaling code for custom interfaces that use the VARIANT, BSTR, or SAFEARRAY types. MIDL can generate marshaling code for such custom interfaces on platforms that support DCOM, such as Windows 95 with DCOM, NT 4.0 and later versions. This marshaling code can only be used on DCOM platforms; it cannot be used on platforms that do not support DCOM. MORE INFORMATION
Marshaling code for the VARIANT, BSTR, and SAFEARRAY types was available
on platforms that do not support DCOM for use by the OLE Automation
marshaler. However, this code was not exposed to other users, such as MIDL.
Consequently, MIDL cannot generate marshaling code on these platforms for
custom interfaces that use these types unless you provide your own
marshaling code for these types. On platforms that support DCOM, the
system providing marshaling code for these types is made available to
MIDL.
REFERENCESFor more information, please see the following articles in the Microsoft Knowledge Base: Q139074 SAMPLE: VTBLBIND: Marshaling Using an OLE Automation Marshaler Q139072 Using OLE Automation Marshaler for 16/16 & 16/32 COM Interface Additional query words: 2.00 4.00 OLE2 OLE COM DCOM kbdss
Keywords : kbole kbNTOS351 kbNTOS400 kbWinOS95 kbGrpCom kbDSupport kbhowto LeTwoArc |
Last Reviewed: October 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |