1

i have a variable of Cstring,need to convert it to wstring.

Tim
  • 9,171
  • 33
  • 51
Nitin
  • 11
  • 3

1 Answers1

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