views:

302

answers:

1

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