HMK9201001: HELPMAKE: Fatal Error H1101: Error Writing File

ID Number: Q79818

1.05 1.07

MS-DOS

buglist1.05 buglist1.07

Summary:

PROBLEM ID: HMK9201001

SYMPTOMS

When using the command line

helpmake /DU alang.hlp

-or-

helpmake /DU alang.hlp > alang.txt

to decode the assembly language help file that ships with MASM 6.0

(ALANG.HLP), HELPMAKE may give the following error:

HELPMAKE : fatal error H1101: error writing file

CAUSE

The error is caused by a CTRL+Z character in the help text. When

using the above command line, the output is being sent to the

console where writing a CTRL+Z character causes an error. HELPMAKE

interprets this as an error writing to the file (console) because

the console is a text "file" and when dealing with text files, the

CTRL+Z character is considered the end-of-file marker.

RESOLUTION

HELPMAKE allows the user to specify an output file by using the /O

switch on the command line. This avoids the error mentioned above.

For example:

helpmake /DU /Oalang.txt alang.hlp

STATUS

Microsoft has confirmed this to be a problem in HELPMAKE versions

1.05 and 1.07. We are researching this problem and will post new

information here as it becomes available.