radbg.inc编译出错,请教如何解决。
为了在RadASM中调试程序,我按网上的文章在asm源程序中加了这么一句,但编译出错:
include C:\RadASM\Masm\Inc\radbg.inc
RADbg macro rabpid, rahwnd, ravar
push&rahwnd
push&rabpid
push&ravar
call RADebug
endm
C:\RadASM\Masm\Inc\radbg.inc(18) : error A2005: symbol redefinition : RADBG
C:\RadASM\Masm\Inc\radbg.inc(19) : error A2034: must be in segment block
C:\RadASM\Masm\Inc\radbg.inc(20) : error A2034: must be in segment block
C:\RadASM\Masm\Inc\radbg.inc(21) : error A2034: must be in segment block
C:\RadASM\Masm\Inc\radbg.inc(22) : error A2034: must be in segment block
C:\RadASM\Masm\Inc\radbg.inc(23) : fatal error A1008: unmatched macro nesting
请教如何解决。
谢谢!
[解决办法]
他把&变成宏吗?
你看&被展开成什么?