No, the conversion is done by somebody else (the start up or C run-time code).
If I use wmain, then I read complete garbage from STD_INPUT_HANDLE - because that's not WCHARs, that's normal chars. And when I have to use MultiByteToWideChar there, why use wmain in the first place?
Fabian Maurer