In the project I use only Use Multi-Byte Character Set, that is, ASCII. In Debug build mode, everything works fine. But, switching to Release, there are many errors associated with converting char -> wchar_t. The settings are ASCII and all the code is ASCII, but the collector for Release collects everything as Unicode. Who is guilty ?
The project encoding is set in Properties -> General -> Projects Defaults, which seems to be for all assemblies.
Project Type Visual C ++ Win32 Console Application.