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



The information in this article applies to:

  • Microsoft Visual Basic Control Creation Edition for Windows 5.0
  • Microsoft Visual Basic Learning Edition for Windows 5.0
  • Microsoft Visual Basic Professional Edition for Windows 5.0
  • Microsoft Visual Basic Enterprise Edition for Windows 5.0

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.

REFERENCES

171550 : FIX: Recompiling With SP2 Breaks Binary Compatibility


Modification Type:MajorLast Reviewed:12/10/2003
Keywords:kbbug kbfix kbvbp500sp3fix kbVS97sp2fix KB171548