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
Posted on 2002-09-30 06:44:07 by btq^2
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:
Posted on 2002-09-30 06:50:03 by bazik
bla STRUCT

myRect RECT <>
bla ENDS


.data
My_bla bla <>


.code
lea eax, My_bla
...
mov edx, [eax].bla.myRect.top
...(etc.)
Posted on 2002-09-30 07:02:51 by bitRAKE
thanks dudes :alright:
/btq
Posted on 2002-10-01 06:34:25 by btq^2
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
Posted on 2002-10-03 00:14:38 by NaN