PRB: Codeview for Windows Does not Run in Windows 95 and NT

Last reviewed: December 1, 1997
Article ID: Q177426
The information in this article applies to:
  • Microsoft Macro Assembler for Windows NT, versions 6.11, 6.11a, 6.11d, 6.12
  • Microsoft Visual C++ for Windows, 16-bit edition, version 1.52
  • Microsoft Visual C++, 32-bit Edition, version 5.0

SYMPTOMS

Codeview for Windows (Cvw.exe) which is included with Microsoft MASM version 6.11 and 16-bit editions of Microsoft Visual C++ does not run in the Microsoft Windows 95 and Microsoft Windows NT operating systems.

If you run Cvw.exe in Microsoft Windows 95 you may get one or both of the following error messages:

   "Could not load debuggee, Windows is out of memory (1)"

-and/or-

   "Could not load debuggee,  Unknown error in Windows (22)"

In Microsoft Windows NT, you may get the following error message even though the Cvw1.386 file has an entry in System.ini file:

   "CVW1.386 is not loaded in SYSTEM.INI. Please reinstall CVW"

STATUS

This behavior is by design.

MORE INFORMATION

You can use CodeView (Cv.exe) for MS-DOS in Microsoft Windows 95 and Microsoft Windows NT for debugging MS-DOS applications.

Usually MASM version 6.11 code is written as an MS-DOS .EXE file and CodeView for MS-DOS (Cv.exe) can be used to debug this type of application. Rarely do programmers write Windows applications in MASM.

Windows applications written in MASM can be debugged using the Visual C++ integrated debugger (use version 1.52 if you are writing a 16-bit application, or use version 4.0 or later if you are writing a 32-bit application). Create a dummy project, using the same name and project directory as the MASM .EXE file, in the Visual C++ IDE. Start the debugger and ignore all the messages about the project build.

Note that the Programmers Work Bench (PWB) used for developing MASM programs works in both Windows 95 and Windows NT. It is advisable that you run the New-vars.bat file in an MS-DOS window from the \Binr folder of the MASM installation before using PWB.


Additional query words: ml
Keywords : TlsMisc
Version : WINDOWS:1.52; WINNT:5.0,6.11,6.11a,6.11d,6.12
Platform : WINDOWS winnt
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 1, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.