i have a variable of Cstring,need to convert it to wstring.
+1
A:
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
2009-10-30 06:00:10