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

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -