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

ID: Q171548


The information in this article applies to:
  • Microsoft Visual Basic Control Creation, Learning, Professional, and Enterprise Editions for Windows, version 5.0
  • Microsoft Visual Studio versions 97, 97sp2


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:

Q170365 : 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:
Q175450 : 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.



REFERENCES

Q171550 : FIX: Recompiling With SP2 Breaks Binary Compatibility

Keywords : kbVBp500 kbVS97sp2fix VBKBAX VBKBAXInet VBKBComp VBKBCtrl VBKBInet kbvbp500sp3fix
Version : WINDOWS:5.0; WINNT:97,97sp2
Platform : WINDOWS winnt
Issue type : kbbug


Last Reviewed: June 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.