FIX: Debugging ActiveX Server in IDE Causes Application Error (170340)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows NT
- Microsoft Visual Basic Professional Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows NT
- Microsoft Visual Basic Enterprise Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows NT
- Microsoft Visual Basic Enterprise Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows NT
This article was previously published under Q170340 SYMPTOMS
When debugging an ActiveX server running in the Visual Basic IDE on Windows
NT 4.0, you may receive the following error when the ActiveX server
attempts to return control back to the Client application running in a
second Visual Basic IDE:
"Step Into: VB5.EXE - Application Error
The instruction at <memory address> referenced memory at <memory
address>. The memory could not be "read"
RESOLUTION
To correct this problem, use one of the following methods. - Install Windows NT Service Pack 2 or later. The system requirements on
the Visual Basic Box recommend Service Pack 2 for Windows NT 4.0.
-or-
- Use late binding when creating the ActiveX server object.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Windows 2000.
Modification Type: | Major | Last Reviewed: | 1/10/2001 |
---|
Keywords: | kbbug kbDSupport KB170340 |
---|
|