Article ID: 158723
Article Last Modified on 3/3/2005
APPLIES TO
- Microsoft COM+ 2.0 Standard Edition, when used with:
- Microsoft Windows NT 3.51 Service Pack 5
This article was previously published under Q158723
SUMMARY
On 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.
REFERENCES
For more information, please see the following articles in the Microsoft
Knowledge Base:
139074 SAMPLE: VTBLBIND: Marshaling Using an OLE Automation Marshaler
139072 Using OLE Automation Marshaler for 16/16 & 16/32 COM Interface
Additional query words: 2.00 4.00 OLE2 OLE COM DCOM kbdss
Keywords: kbhowto KB158723