stTest struc
aa dd ?
bb dd ?
stTest ends
testProc uses edi proc lpstTest:DWORD
assume edi: ptr stTest
.if [edi].aa>5
.........can work
.endif
..........but
.if (stTest ptr [edi]).aa > 5
.............cannn't work why????
.endif
assume edi:NOTHING
ret
testProc endp
Hi
Good question, but only microsoft can give the answer. I consider it a bug.
I use this form:
It always works.
KetilO
Good question, but only microsoft can give the answer. I consider it a bug.
I use this form:
.if [edi].stTest.aa>5
.endif
It always works.
KetilO
thanks a lot :idea:
so may i think there is no need the method stTest ptr any more
only .stTest.aa is ok
:lol:
only .stTest.aa is ok
:lol: