With QB /L, "Far Heap Corrupt" After Deleting Module (40877)






This article was previously published under Q40877

SYMPTOMS

The following key sequence causes a "Far Heap Corrupt" error, aborting the QB.EXE Version 4.50 editor and returning you back to DOS:

  1. Start QB with /L, loading any quick library.
  2. Load a program that uses graphics and has a subprogram.
  3. Press CTRL+F10 to enable the full screen.
  4. Run the program (SHIFT+F5, or Start Program from the Run menu).
  5. Press CTRL+BREAK to stop execution of the program.
  6. Press F2 (View Subs) and select a subprogram.
  7. Choose the Delete option.
  8. A window opens asking if you want to delete the indicated subprogram; select OK.
  9. A window opens telling you that the program has to be restarted after the indicated edit; select OK.
The screen will then go blank with the message "Far Heap Corrupt" at the top.

STATUS

Microsoft has confirmed this to be a bug in Version 4.50. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type: Minor Last Reviewed: 1/8/2003
Keywords: KB40877