Microsoft KB Archive/88508

{|
 * width="100%"|

PRB: Cannot Build in PWB with SHARE.EXE and OutputTo=NUL

 * }

Q88508

-

The information in this article applies to:


 * Microsoft Programmer's Workbench for MS-DOS, version 2.0

-

SYMPTOMS
Microsoft Programmer's WorkBench (PWB) version 2.0 supplied with Microsoft C/C++ version 7.0 may generate the following error messages when building a project:

NUL - Permission Denied

cannot compile

These errors will appear in PWB message boxes.

CAUSE
The following conditions will cause PWB to display the messages:


 * SHARE.EXE has been executed.
 * &quot;OutputTo=NUL&quot; has been added to the SYSTEM.INI file under the [Debug] section.
 * An application is being built in PWB.

PWB is using the NUL device that is already in use by Windows. You can see similar behavior simply by typing ECHO > NUL at an MS-DOS command prompt with SHARE.EXE loaded and OutputTo=NUL set.

RESOLUTION
To work around this problem, do one of the following:


 * Remove SHARE.EXE.
 * Remove the &quot;OutputTo=NUL&quot; statement and only insert this when running the Windows debug kernel. You can append a couple statements to N2D.BAT and D2N.BAT to change SYSTEM.INI files; one with the [Debug] section and one without.
 * Build the project outside of PWB.

Additional query words: 2.00 7.00 buglist7.00

Keywords : kb16bitonly

Issue type :

Technology : kbAudDeveloper kbPWBSearch kbZNotKeyword3 kbPWB200DOS