Thank you.
How can I provide that storage?
I though it was a C++ memory management issue because I did something similar in C but with less complexity and correct results.
I don't understand why it stop pointing to the right place when I did the casting.
I tried to do something like:
Code:
to->Table = (test2 *)((char)destination + 8);
+ 8 because I have two 4 bytes integers.
The code is wrong but at least I get to->Table points to destination + 8, inside the shared memory.
I still looking for the answer.