BUG: Return Type Marshaling of GUID Causes an Exception Error (326708)
The information in this article applies to:
- Microsoft Visual J# .NET (2003)
- Microsoft Visual J# .NET (2002)
This article was previously published under Q326708 SYMPTOMS When you use platform invoke to call a method with a return
type of com.ms.com._Guid, you may receive the following exception error message for Microsoft Visual J# .NET 2003:
An unhandled exception of type 'System.DllNotFoundException' occurred in MyApp.exe .
Additional information: Unable to load DLL (Test.dll).
For Microsoft Visual J# .NET 2002, you may receive the following exception error message: An unhandled exception of type
'System.Runtime.InteropServices.MarshalDirectiveException' occurred in MyApp.exe
Additional information: Method's type signature is not
PInvoke compatible. 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: | 1/27/2004 |
---|
Keywords: | kbbug kbnofix KB326708 |
---|
|