How do I turn off Unicode in a VC++ project?

前端 未结 8 1221
滥情空心
滥情空心 2020-11-27 04:01

I have a VC++ project in Visual Studio 2008.

It is defining the symbols for unicode on the compiler command line (/D \"_UNICODE\" /D \"UNICODE\"), eve

8条回答
  •  星月不相逢
    2020-11-27 04:34

    For whatever reason, I noticed that setting to unicode for "All Configurations" did not actually apply to all configurations.

    Picture:

    To confirm this, I would open the .vcxproj and confirm the correct token is in all 4 locations. In this photo, I am using unicode. So the string I am looking for is "Unicode". For you, you likely want it to say "MultiByte".

    Picture:

提交回复
热议问题