In my test i used this method:
Code:
target_ent.skill10 = str_create("");
str_cpy((STRING*)target_ent.skill10,(STRING*)source_ent.skill10);


That gave an empty string in both entities.
I assume the reason is the first assign with the "" value.
I guess when want to change the target string, the source will be changed paralell with that.
I stopped this study, and i do the process simply with create the new entity and manually copy everything.

Last edited by Aku_Aku; 06/19/10 06:50.