现在的位置: 首页 > 综合 > 正文

vs2010 设置为Use Multi-Byte Character Set 后界面没xp 风格了

2013年10月16日 ⁄ 综合 ⁄ 共 672字 ⁄ 字号 评论关闭

解决办法:

打开 stdafx.h  找到

 

#ifdef _UNICODE
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
#endif

 

注释 绿色的这两行后

 

重新编译 OK

抱歉!评论已关闭.