yes. smile tats true.

if u copying from struct's string to a normal string, use Assignment operator.

if u copying from string to struct's string use str_cpy.

see in my code above how i wrote. smile i also faced this problem before. i donno wats the logic behind it. but it works this way. maybe the memory allocation is done differently for struct and STRING alone.


A7 commercial Team / VC++ 2008 Pro
homepage | twitter | facebook