C++ lpcwstr to wstring -


i convert lpcwstr wstring in c++ (vs 2010). want use in outputdebugstringw().

thank you.

well pass lpcwstr constructor of wstring this:

lpcwstr str=l"fun"; wstring str2(str); 

Comments

Popular posts from this blog

python - cx_oracle unable to find Oracle Client -

shader - OpenGL Shadow Map -

c# - Exchange 2010/2013 TransportAgent Content Conversion for Internal Recipients -