BUG: Unexpected exception when you perform a late bind to call a Component Object Model component that returns a structure
Dec.16, 2009 in
exception
Symptoms
In a Microsoft .NET Framework application, when you perform a late bind to call a Component Object Model (COM) component that returns a structure, you may receive the following exception when you run the application:
An unhandled exception of type ‘System.ArgumentException’ occurred in Mscorlib.dll
Additional information: The method returned a VT_RECORD Variant, which is not supported by Interop.
Resolution
To work around this bug, perform an early bind instead of a late bind while you call the COM component.

Leave a Reply