stTest struc
aa dd ?
bb dd ?
stTest ends

testProc uses edi proc lpstTest:DWORD
assume edi: ptr stTest
.if [edi].aa>5
.........can work

.if (stTest ptr [edi]).aa > 5
.............cannn't work why????

assume edi:NOTHING
testProc endp

Posted on 2005-02-07 09:29:37 by jndk

Good question, but only microsoft can give the answer. I consider it a bug.

I use this form:

.if [edi].stTest.aa>5

It always works.

Posted on 2005-02-07 12:40:02 by KetilO
thanks a lot :idea:
Posted on 2005-02-07 21:37:39 by jndk
so may i think there is no need the method stTest ptr any more

only .stTest.aa is ok

Posted on 2005-02-08 06:31:48 by jndk