STDERR Gets Assembly-Time Error

ID Number: Q12125

4.00

MS-DOS

Problem:

Assembly-time error messages in MASM Version 4.00 are

sent to STDERR; this is different than Version 3.00

behavior. MS-DOS does not allow redirection of STDERR, so

error messages cannot be redirected to the printer.

Response:

Microsoft has changed this behavior in MASM Version 5.00

so that error messages can be redirected. Also, a utility

called ERROUT can be used to redirect output sent to

STDERR. This utility is part of the MASM Version 5.00

package.

A workaround for MASM Version 4.00 is to output to a

listing file, then send the listing file out to the

printer.