i have a variable of Cstring,need to convert it to wstring.
Asked
Active
Viewed 1,865 times
1 Answers
1
The MultiByteToWideChar function is the base level Win32 API function to do this. Whatever library or framework you are using may offer a more convenient function that wraps this operation.

Greg Hewgill
- 951,095
- 183
- 1,149
- 1,285