I'm using C++ (Windows environment). I have a :
LPCWSTR mystring;
This works :
mystring = TEXT("Hello");
But how to do this ? :
mystring = ((((create a new string with text = the content which is in another LPCWSTR 'myoldstring'))))
Thanks a lot in advance!
PS :
mystring = myoldstring;
would work , but it would not create a new string, it would be the same pointer. I want to create a new string !