Hi mates. it's me again.
I'm stuck trying with a nested structure, I can find the best way to do the structure, I Thought making a long byte structure and then Peek the byte that y need, but I thinks is not efficient.
I have this:
My ask is: is there some best way to do it.
I mean something like this:
![:sweating:]()
any suggestions is wellcome.
Regards.
I'm stuck trying with a nested structure, I can find the best way to do the structure, I Thought making a long byte structure and then Peek the byte that y need, but I thinks is not efficient.
I have this:
[ autoit ]
$pointer="here my pointer" $str=DllStructCreate("long;word;byte[4];Ptr;long",$pointer) $b1=DllStructCreate("byte",DllStructGetPtr($str,3)) $b2=DllStructCreate("byte",DllStructGetPtr($b1)+1) $b3=DllStructCreate("byte",DllStructGetPtr($b2)+1) $b4=DllStructCreate("byte",DllStructGetPtr($b3)+1) ;msgbox(0,"",DllStructGetData($b3,1))
My ask is: is there some best way to do it.
I mean something like this:
[ autoit ]
$pointer="here my poitner" $STRB=DllStructCreate(DllStructCreate("byte;byte;byte;byte") $stra=DllStructCreate("long;word;HELLO as $STRB;Ptr;long",$pointer) ;obviously this is wrong
![:sweating:](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/sweating.gif)
any suggestions is wellcome.
Regards.