CharacterSet

Using Visual Studio 2005, you edit the default.js file in VC\VCWizards\AppWiz\Generic\Application\scripts\1033 under the dir where Visual Studio is installed on your system.

Look for the two places where this assignment occurs: config.CharacterSet = charSetUNICODE

and change them to config.CharacterSet = charSetMBCS (or charSetNotSet if you prefer)

Change them in both places (one for Debug and one for Release configuration)

This is for Win32 Console and Win32 apps. Under the AppWiz directory you can find the default.js in the scripts directory of the other project type directories.

posted @ 2013-02-16 22:37  greencolor  阅读(210)  评论(0编辑  收藏  举报