Article ID: 327097 - Last Review: September 27, 2005 - Revision: 1.6 BUG: Visual C++ .NET Compiler Generates Two Different Native Types for the Same Boolean Return TypeThis article was previously published under Q327097 On This PageSYMPTOMS The Visual C++ .NET compiler generates both NATIVE_TYPE_U1 and NATIVE_TYPE_VARIANTBOOL for the same Boolean return type that is marked with MarshalAs(UnmanagedType::VariantBool). STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
MORE INFORMATIONSteps to Reproduce the Behavior
| Article Translations
|
Back to the top
