Hello, I would like solething like this :
invoke g_slice_alloc0,STRUCTURE_1_SIZE
mov [lpStruct_1],eax
invoke g_slice_alloc0,STRUCTURE_2_SIZE
mov edx,[lpStruct_1]
mov ([edx.lpPointerOnStruct_2),eax
The first line allocates a structure. This structure has a pointer to an other structure.
In the first structure I want to store the pointer onto the second.
STRUCT STRUTURE_1
lpPointerOnStruct_2 resd 1
dwSomething resd 1
ENDS
STRUCT STRUCTURE_2
dwSomeData_1 resd 1
dwSomeData_2 resd 1
ENDS
How can I do ?