BUG: System.OutOfMemoryException Thrown When You Invoke a COM Method That Returns a Structure Containing a String Array (317624)
The information in this article applies to:
- Microsoft .NET Framework 1.1
- Microsoft .NET Framework 1.0
This article was previously published under Q317624 SYMPTOMS When you invoke a method on a Component Object Model (COM)
object that returns a structure that contains a string array from a .NET
component, a System.OutOfMemoryException error is thrown. CAUSE This behavior occurs because the .NET Framework does not
support the marshaling of a structure that contains a string array.
For more information about supported data types, browse to the following
Microsoft Web site: RESOLUTION A fix for this problem is now available.
For additional information and to get this fix, click the
article number below to view the article in the Microsoft Knowledge Base: 324181 FIX: Marshaling of Fixed Arrays of BSTR Fields in .NET Framework
STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 4/8/2003 |
---|
Keywords: | kbbug kbCOMInterop kbnofix kbpending KB317624 |
---|
|