hi...ready for another newbie question?
how do I access a struct that resides within a STUCT?
I've got something like:
bla STRUCT
myRect RECT <>
bla ENDS
....
assume eax:Ptr bla
.myRect.top ???
ehhhr, this doesn't seem to work very well...
any suggestions on how to access the RECT members?
thanks a bunch :)
/btq
how do I access a struct that resides within a STUCT?
I've got something like:
bla STRUCT
myRect RECT <>
bla ENDS
....
assume eax:Ptr bla
.myRect.top ???
ehhhr, this doesn't seem to work very well...
any suggestions on how to access the RECT members?
thanks a bunch :)
/btq
I think NaN covered this topic in his structure tutorial, but it seems that his homepage (nan32asm.cjb.net) is down :/ Maybe PM him for it... or ask bitRAKE :grin:
bla STRUCT
myRect RECT <>
bla ENDS
.data
My_bla bla <>
.code
lea eax, My_bla
...
mov edx, [eax].bla.myRect.top
...(etc.)
thanks dudes :alright:
/btq
/btq
Thanx for pointing out my page has disappeared.
Binkster has not been very kind to me lately... and i guess their last move was instantly torching my site :rolleyes:
O well.. wonder how much i had backed up.... ;)
Anyways.. when i get the time i will find another host. If anyone is looking for something specifically feel free to PM me...
Thanx again.
:alright:
NaN
Binkster has not been very kind to me lately... and i guess their last move was instantly torching my site :rolleyes:
O well.. wonder how much i had backed up.... ;)
Anyways.. when i get the time i will find another host. If anyone is looking for something specifically feel free to PM me...
Thanx again.
:alright:
NaN