News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

get an adress with a pointer on a strucrture

Started by ToutEnMasm, August 26, 2011, 05:01:34 PM

Previous topic - Next topic

ToutEnMasm

Quote
mov edx,appContext
invoke InterlockedIncrement, addr [edx].APP_CONTEXT.lPendingWrites
Beautiful and easy ,I agree.
The problem is when windows give you a pointer on a structure or more, a pointer giving you another pointer.
One ,only one ?
I took the more simple case,one pointer.
Now you put it in  a variable and you try to use the structure WITHOUT ADDING A THOUSAND of lines to your program because you have only a hundred of access to do.And some case with two pointers.