Article ID: 192653 - View products that this article applies to.
This article was previously published under Q192653
This article has been archived. It is offered "as is" and will no longer be updated.
A Visual Basic project group contains at least eight ActiveX DLL projects and one standard EXE project. The Standard EXE project creates and releases the ActiveX DLL files. The project group is compiled into DLL and EXE files. The EXE file is run.
The first time you create and release the ActiveX DLL files, the program runs successfully. However, the second time you create and release the ActiveX DLL files, an application error occurs and displays the following message:
The instruction at "0x6602c2c5 referenced memory at "0x010b008c". The Memory could not be "written".
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/194022/EN-US/ )INFO: Visual Studio 6.0 Service Packs, What, Where, Why
(http://support.microsoft.com/kb/194295/EN-US/ )HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
The bug occurs only when the compiled projects are run outside the Visual Basic IDE. The bug does not occur when you run the project through the Visual Basic IDE.
This section shows you how to create a sample project that demonstrates the bug behavior. The section assumes you are familiar with creating ActiveX DLL projects, standard EXE projects, project groups, and compiling these files into a executable file.
Steps to Reproduce BehaviorThe sample project contains eight ActiveX DLL projects that will be used in a Standard EXE project. The Standard EXE project is then compiled into an executable file. The executable file is then run to demonstrate the bug behavior.
To create the eight ActiveX DLL projects:
Article ID: 192653 - Last Review: February 23, 2014 - Revision: 2.1
Contact us for more help
Connect with Answer Desk for expert help.