BUG: TypeLoadException Is Generated Instead of MarshalDirectiveException (317007)
The information in this article applies to:
- Microsoft .NET Framework 1.0
- Microsoft .NET Framework 1.1
This article was previously published under Q317007 SYMPTOMS
Under some circumstances, a TypeLoadException exception is generated instead of a MarshalDirectiveException exception when you use P/Invoke.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCESFor more information, visit the following Microsoft Developer Network (MSDN) Web sites:
Modification Type: | Major | Last Reviewed: | 1/19/2004 |
---|
Keywords: | kbbug KB317007 |
---|
|