Microsoft KB Archive/231177

= BUG: Permission Denied Error When Building From Programmer's Workbench =

Article ID: 231177

Article Last Modified on 10/15/2002

-

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

-



This article was previously published under Q231177



SYMPTOMS
The first time an assembler project is built in the Programmer's Workbench (PWB), there are no problems. Subsequent attempts to build the project cause an error similar to the following:

file.$c\temp\pw02681.msg permission denied



CAUSE
PWB is a MS-DOS application that does not work properly when run on Windows 95 and later.



RESOLUTION
To work around the problem, select DOS Shell from the PWB file menu and build your project by using the NMAKE utility as the following code illustrates: Syntax: "nmake /fMyProject.mak"

You may also be able to work around the problem with one of the following methods:


 * 1) Use the real-mode version of NMAKE, the Nmaker.exe file. First, locate Nmake.exe in the \Bin directory under the root Macro Assembler (MASM) installation directory. Then rename Nmake.exe to Nmakep.exe, and rename Nmaker.exe to Nmake.exe. The protect-mode version of NMAKE can still be accessed using Nmakep.exe.


 * 1) Use a 32-bit version of the Nmake.exe file, such as the versions included with Visual C++ 32-bit Editions.

For Visual C++, NMAKE can typically be found in the \Bin directory under the root Visual C++ installation directory. Copy Nmake.exe from the Visual C++ \Bin directory to the MASM \Bin directory.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Additional query words: MASM PWB Programmer's Workbench

Keywords: kbbug kbnofix kbide KB231177

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.