Microsoft KB Archive/72391

= BUG: Cannot Open MASM 6.0 Sample Programs from PWB Online Help =

Article ID: 72391

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft Programmer's Workbench for MS-DOS 1.0
 * Microsoft Programmer's Workbench for MS-DOS 1.1
 * Microsoft Programmer's Workbench for MS-DOS 2.0
 * Microsoft Programmer's Workbench for MS-DOS 2.1.49

-



This article was previously published under Q72391



SYMPTOMS
Attempting to access the Microsoft Macro Assembler (MASM) version 6.0 sample help programs through the Programmer's WorkBench (PWB) version 1.00 or 1.10 online help system will generate an error. For example, the following message results from trying to view the file C.ASM:

Cannot open [$ASMEX:MIXED\C.ASM]: Not found

Selecting any one of the sample programs should cause a copy of the program to be loaded into the help window, but the DOS version of PWB generates the above message instead.



RESOLUTION
The following three methods may be used to work around this problem:  Change directories to the MASM 6.0 samples subdirectory (by default, this is C:\MASM\SAMPLES). This can be easily accomplished if the ASMEX environment variable has been correctly set to point to your samples directory. Choose Open on the File menu and type in $ASMEX: and press ENTER. Next, choose Cancel to return to the editor. Attempts to access sample program files from the online help will now be successful as long as you do not change the current directory. - or -

 Load the file directly into the editor. The programs will be in one of four subdirectories under the MASM 6.0 samples directory: \DEMOS, \TSR, \MIXED, or \SHOW. Choose Open on the File menu, and then there are three ways to open the sample files:  

 Switch to the directory of the desired example file by using the dialog box controls and then select the desired file. Enter the full path name of the file and press ENTER, for example:

C:\MASM\SAMPLES\MIXED\C.ASM

 Use the ASMEX environment variable to specify the path to the file, for example:

$ASMEX:MIXED\C.ASM

</ol>

- or -

</li> Access the online help through the QuickHelp utility. The sample help files are correctly located by QuickHelp.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed this to be a bug in the products listed at the beginning of this article.

<div class="moreinformation_section">

MORE INFORMATION
To reproduce this error, follow these steps:
 * 1) Choose Contents on the PWB Help menu.
 * 2) Choose Assembly in the &quot;Languages&quot; section of the main &quot;Microsoft Advisor Help System&quot; screen.
 * 3) Choose Example Code in the &quot;Related Programs&quot; section of the &quot;MASM 6.00 Contents&quot; help screen.
 * 4) Choose Mixed Languages from the &quot;Example Code&quot; selection screen.
 * 5) Choose a file, such as C.ASM, and the above error will be displayed.

Additional query words: 1.00 1.10 2.00 2.10.49

Keywords: KB72391

-

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

© Microsoft Corporation. All rights reserved.