Article ID: 221101 - View products that this article applies to.
This article was previously published under Q221101
If a Visual Basic application retrieves a User Defined Type (UDT) containing String and Enum fields from a C++ DLL, the Visual Basic application crashes on the call to the DLL file. No error message is displayed.
Use the Long data type instead of Enum in the Type declaration of the Visual Basic UDT.
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Steps to Reproduce Behavior
Article ID: 221101 - Last Review: June 24, 2004 - Revision: 2.0