PRB: Repeated Blank Screens During Build Process in VC++Last reviewed: January 7, 1998Article ID: Q126031 |
The information in this article applies to:
SYMPTOMSWhen you build from the development environment in Visual C++, the screen repeatedly flashes to a blank text mode screen with no text on it. A text cursor may show up if you move the mouse while the blank screen is showing. The screen returns to Visual C++ and then blanks out again. The blanking occurs at least twice but possibly more times during the entire build process.
CAUSEThe default settings for the Command Prompt on Windows NT or Windows95 is set to full screen.
RESOLUTIONDepending on whether you are on Windows NT or Windows95, the resolution process is different.
MORE INFORMATIONOn Windows NT, Visual C++ repeatedly invokes a background process called Vcspawn.exe for each command-line tool executed by the development environment. Tools such as Cl.exe, Link.exe, and Bscmake.exe run in the Vcspawn.exe environment, which is a 32-bit console application. Usually Vcspawn.exe is invoked as a hidden window and you never see it. However, if the setting for Vcspawn.exe is in "full screen" mode, the screen switches to text mode each time Vcspawn.exe is invoked. No text is actually sent to the vcspawn screen, so the screen appears blank. On Windows95, Vcspawn.exe is affected by the presence of the _Default.pif and the settings of the Conagent.exe file. If a _Default.pif is in the path, its properties will be used for all invoked console applications. Often, a _Default.pif will be left over from a previous Windows 3.1 or 3.11 installation. Windows95 will not create one itself during installation. If _Default.pif is not present, Windows95 will use the properties of Conagent.exe.
On WINDOWS NT :Use one of the following procedures to correct the problem.
Steps to Reset Default Configuration of ALL Command Prompts
Steps to Reset Configuration for Just Vcspawn.exe by Using Regedt32Use the following process to add a registry entry so only vcspawn's settings are not "full screen."
Steps to Reset Configuration for Just Vcspawn.exe Without Using Regedt32If you are not familiar with the system registry and do not want to reset the default configurations for the Command Prompt, use the following procedure to reset the settings for vcspawn. This procedure adds the same registry entry. NOTE: if you have a fast machine, you may have trouble performing some of the following steps and you need a larger project. Therefore, if you have a fast machine, use one of the previous methods to work around the problem. If you are compiling a large project, you can switch tasks and see the minimized Vcspawn.exe icon. Resetting the attributes of this icon will reset the attributes of vcspawn.
ON WINDOWS 95 :Use one of the following procedures to correct the problem.
Steps to Reset Configuration of _Default.pif
Steps to Reset Configuration of Conagent.exe
|
Additional query words: 2.00 2.10 2.20 4.00 4.10 4.20 5.00 VWB cl link
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |