Select the product you need help with
FIX: OutOfMemoryException Occurs When You Access Non-Fixed Size Safe Arrays in a User-Defined TypeArticle ID: 327107 - View products that this article applies to. This article was previously published under Q327107 On This PageSYMPTOMS The following error message occurs when you invoke a method
on a Component Object Model (COM) object that returns a user-defined type that
contains a Safe array (non-fixed size): An unhandled
exception of type 'System.OutOfMemoryException' occurred in
ApplicationName.exe Additional information: Not enough storage is available to complete this operation. CAUSE This behavior occurs because the .NET Framework cannot
marshal a structure field with a Safe array (non-fixed size) type.
STATUS This bug
was corrected in .NET Framework (2003|1.1).
MORE INFORMATIONSteps to Reproduce the Behavior
REFERENCES For more information about interop marshaling, visit the
following Microsoft Web site:
Interop Marshaling http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconinteropmarshaling.asp
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconinteropmarshaling.asp)
PropertiesArticle ID: 327107 - Last Review: February 23, 2007 - Revision: 2.5
|


Back to the top








