Article ID: 221101 - Last Review: June 24, 2004 - Revision: 2.0 BUG: Visual Basic App Crashes Passing UDT with String and Enum
This article was previously published under Q221101 On This PageSYMPTOMS
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.
RESOLUTION
Use the Long data type instead of Enum in the Type declaration of the Visual Basic UDT.
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 Behavior
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
