FIX: ATL Control Causes Access Violation In Visual Basic 5.0Last reviewed: December 18, 1997Article ID: Q167340 |
The information in this article applies to:
SYMPTOMSInsert an ActiveX control created with the Active Template Library(ATL) into Visual Basic 5.0. When you try to delete the control or run the Visual Basic program, the following error message appears:
Unhandled exception in Vb5.exe: 0xC0000005: Access Violation. CAUSEThe error message is caused by a bug in Visual Basic 5.0. When an ATL control implements connection points and IQuickActivate, Visual Basic 5.0 causes an access violation if the control doesn't support IPropertyNotifySink.
RESOLUTIONTo get around this problem, you can do one of the following:
STATUSThis problem has been corrected in Visual Studio 97 Service Pack 1. For additional information about the Visual Studio 97 Service Pack 1, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q170365 TITLE : INFO: Visual Studio 97 Service Packs - What, Where, and Why REFERENCESThis issue is also documented in VCREAD.HTM, which comes with Visual C++ version 5.0. Keywords : AtlControl AtlIss VS97FixlistSP3 kbinterop VS97FixlistSP2 VS97FixlistSP1 Technology : kbAtl kbole kbInetDev Version : 5.0 Platform : WINDOWS Issue type : kbprb Solution Type : kbfix kbservicepack |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |