Microsoft KB Archive/171548

= FIX: Binary-Compatible Server Causes VB to Hang in IDE =

Article ID: 171548

Article Last Modified on 12/10/2003

-

APPLIES TO


 * Microsoft Visual Basic 5.0 Control Creation Edition
 * Microsoft Visual Basic 5.0 Learning Edition
 * Microsoft Visual Basic 5.0 Professional Edition
 * Microsoft Visual Basic 5.0 Enterprise Edition

-



This article was previously published under Q171548



SYMPTOMS
After adding functionality and re-compiling a server application (EXE, DLL, or OCX) with Binary compatibility set several times with Visual Studio 97 Service Pack 2, the Visual Basic IDE could hang.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Visual Studio 97 Service Pack 3.

For more information, please see the following article in the Microsoft Knowledge Base:

170365 : INFO: Visual Studio 97 Service Packs - What, Where, and Why

For a list of the Visual Basic 5.0 bugs that were fixed in the Visual Studio 97 Service Pack 3, please see the following article in the Microsoft Knowledge Base:

175450 : INFO: Visual Basic 5.0 Fixes in Visual Studio 97 Service Pack 3



MORE INFORMATION
If you have an ActiveX project built with binary compatibility set, you may experience some problems. The problems caused by this bug are difficult to reproduce consistently. This article offers just one way to reproduce this behavior, so be aware that the IDE may hang under other conditions when your project is using in Binary compatibility switch.

Steps to Reproduce Behavior

 * 1) Create an ActiveX project with two classes and add some methods to both classes. Compile this ActiveX project.
 * 2) Add a method to Class1(the first class listed in .VBP file).
 * 3) Set binary compatibility to the ActiveX project you just generated. Compile this ActiveX project again.
 * 4) Set binary compatibility to this new generated ActiveX project.
 * 5) Press the F5 key to run the project and note that the IDE hangs.

