PRB: Paste Fails in the VC IDE After Installing NT 4.0 SP4 (231652)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0 SP4
  • Microsoft Windows NT Workstation 4.0 SP4
  • Microsoft Visual C++, 32-bit Enterprise Edition 5.0
  • Microsoft Visual C++, 32-bit Enterprise Edition 6.0
  • Microsoft Visual C++, 32-bit Professional Edition 5.0
  • Microsoft Visual C++, 32-bit Professional Edition 6.0
  • Microsoft Visual C++, 32-bit Learning Edition 6.0

This article was previously published under Q231652

SYMPTOMS

After installing Service Pack 4 for NT 4.0 you may temporarily lose the Paste functionality of the Visual C++ editor. The copied text can be seen in the Clipboard when this problem occurs. This problem is intermittent.

CAUSE

This problem may be due to the changes in the heap manager allocation pattern after installing NT 4.0 Service Pack 4 (SP4).

RESOLUTION

You can add the Visual C++ executable, MSDEV.exe, to the Image File Execution Options list in the registry. See the directions in the Resolution section of the following article in the Microsoft Knowledge Base:

195009 Application Access Violation or Hang After Applying SP4

Adding MSDEV.exe to this list causes the SP4 heap manager to revert to SP3 and earlier allocation patterns for Visual C++. This has been shown to fix the paste problems some users experience.

Modification Type:MajorLast Reviewed:12/8/2003
Keywords:kbBug kbDevStudio kbide kbNoUpdate kbprb KB231652