FIX: No Stack Frame From CMACROS.INC cProc FORCEFRAME (94943)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.0a
- Microsoft Macro Assembler (MASM) 6.0b
- Microsoft Macro Assembler (MASM) 6.1
- Microsoft Macro Assembler (MASM) 6.1a
- Microsoft Macro Assembler (MASM) 6.11
This article was previously published under Q94943 SYMPTOMS
When an application includes the CMACROS.INC file and specifies the
FORCEFRAME option with the cProc macro, the assembler does not
generate a stack frame.
CAUSE
The code to determine that the application specifies the FORCEFRAME
option was omitted from the cProc macro.
RESOLUTION
To correct this problem, add the following three lines to CMACROS.INC.
Modify version 5.3 to add the following lines before line 876 or
modify version 5.31 to add the following lines before line 1518.
ifidn <x>,<FORCEFRAME>
?ff=1
endif
Alternately, modify the application source code to remove the cProc
macro and in its place specify the PROC directive with the FORCEFRAME
argument.
STATUS
Microsoft has confirmed this to be a problem in CMACROS.INC versions
5.3 and 5.31 distributed with MASM versions 6.0, 6.0a, 6.0b, 6.1, and
6.1a. This problem was corrected in the CMACROS.INC distributed with
MASM for MS-DOS version 6.11.
Modification Type: | Minor | Last Reviewed: | 11/15/2003 |
---|
Keywords: | kbfix KB94943 |
---|
|