The information in this article applies to:
SYMPTOMSIn the Microsoft Macro Assembler (MASM) version 6.0, when defining ?WIN on the command line and including CMACROS.INC, the following errors are generated:
CAUSEThe command-line switch /D?WIN=1 is equivalent to ?WIN TEXTEQU <1>. CMACROS.INC is expecting that ?WIN = 1 will be used to indicate that Windows support is needed. RESOLUTIONTo correctly define ?WIN, do not assemble with /D?WIN=1 as a command line option; instead, use "?WIN = 1" in the source file before including CMACROS.INC. MORE INFORMATIONThe following examples demonstrate the incorrect and then the correct way to define ?WIN for use with CMACROS.INC. Sample Code 1: Incorrect
Sample Code 2: Correct
Additional query words: 6.00
Keywords : |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |