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

ID: Q88508

7.00 | 7.00 MS-DOS | WINDOWS kbtool kberrmsg kbbuglist kbprb

The information in this article applies to:

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:

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:

Additional reference words: 2.00 7.00 buglist7.00 KBCategory: kbtool kberrmsg kbbuglist kbprb KBSubcategory: PwbIss Keywords : kb16bitonly

Last Reviewed: July 18, 1997