Article ID: 221101 - View products that this article applies to.
This article was previously published under Q221101
This article has been archived. It is offered "as is" and will no longer be updated.
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: February 21, 2014 - Revision: 2.0