Microsoft Knowledge Base Email Alertz

KBAlertz.com: (177426) - 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 NT operating systems. In Microsoft Windows NT, you may get the following error...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **


Community Site



We Send hundreds of thousands of emails using ASP.NET Email


ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 177426 - Last Review: March 21, 2005 - Revision: 2.1

PRB: CodeView for Windows Does Not Run in Windows 95 and NT

This article was previously published under Q177426

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 NT operating systems.

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
CodeView for Windows will run in Windows 95 and 98; however, you may get the following error messages:
Could not load debuggee, Unknown error in Windows (22)
-and/or-
Could not load debuggee, Windows is out of memory (1)

CAUSE

If you get the first message, then the application has installed a callback that causes notifications to be issued, calling OutputDebugString() for example.

For additional information, please see the following article in the Microsoft Knowledge Base:
99671  (http://kbalertz.com/Feedback.aspx?kbNumber=99671/EN-US/ ) INF: Chaining NotifyRegister Callbacks Issuing Notifications
For the second error message, you may have loaded Emm386.exe in the Config.sys file. Reboot the machine after removing the line loading Emm386.exe by typing REM before device. Or, reboot after increasing memory when Emm386.exe is loaded, adding the RAM command as shown below:
   device=C:\Windows\HIMEM.SYS
   device=c:\Windows\emm386.exe 4096 RAM
				

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.

APPLIES TO
  • Microsoft Macro Assembler 6.11 Standard Edition
  • Microsoft Macro Assembler 6.11a
  • Microsoft Macro Assembler 6.11c
  • Microsoft Macro Assembler 6.11d
  • Microsoft Macro Assembler 6.12
  • Microsoft Macro Assembler 6.13
  • Microsoft Macro Assembler 6.14
  • Microsoft Visual C++ 1.52 Professional Edition
Keywords: 
kbprb KB177426
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please