ASM文件:
.386
.model flat, stdcall ;32 bit memory model
这个定义是不是代表所有proc都是stdcall方式?
sub_41B9A0 proc near ; CODE XREF: sub_40D80C+3Ep
....
retn
sub_41B9A0 endp
实际上应该是cdel方式.
我把上面的.model flat, stdcall ;32 bit memory model
改成.model flat, cdel ;32 bit memory model后,再次编译就暴一大堆data段定义错误?如下:
error A2034: must be in segment block
error A2034: must be in segment block