BUG: COM Interop: No Built-in Support VARIANT of Type VT_RECORD (309329)
The information in this article applies to:
- Microsoft .NET Framework 1.1
- Microsoft .NET Framework 1.0
This article was previously published under Q309329 SYMPTOMS In COM, a VARIANT that contains a structure is of type VT_RECORD. Similarly, a SAFEARRAY is of type VT_RECORD when its element types are structures. In Beta 2, VARIANTs of type VT_RECORD and SAFEARRAYs of type VT_RECORD are not supported by COM interop. RESOLUTION To resolve this problem, construct a custom marshaler that
adds this functionality. STATUSMicrosoft has confirmed that
this is a problem in Microsoft .NET Framework SDK.
MORE INFORMATION In the release build, support has been added for SAFEARRAYs of structures. VARIANTs of type VT_RECORD continue to be unsupported by the COM interop facilities.
Modification Type: | Major | Last Reviewed: | 4/8/2003 |
---|
Keywords: | kbMarshal kbbug kbCOMInterop kbpending kbreadme KB309329 |
---|
|