character conversion

Started by
1 comment, last by sdrichardson 20 years ago
could someone tell me how to convert an array of characters to the WCHAR type? i.e. char[128] to WCHAR Scotty.
Scotty.
Advertisement
RtlAnsiStringToUnicodeString()!

Actually you''ll want to use MultiByteToWideChar()
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
Look at the functions wctomb and its Windows version, WideCharToMultiByte. There are similar functions for converting back, referenced in those articles.

[edited by - Promit on April 15, 2004 7:07:15 PM]
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.

This topic is closed to new replies.

Advertisement