Failed. I was searching information about this. I found something. A struct can have a diferent size than its elements. it´s happens because there is a byte used to struct.
Then I can´t use this solution. I need to copy element by element.
If someone has some code to do this, please, tell me. I´m working on that.
|