这个问题,你可以这样子解决:
打开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
//把#ifdef _UNICODE 这句,和最后一句#endif,去掉全部重新生成即可
如:
//#ifdef _UNICODE
//.................
//#endif
浏览肯定和实际编译出来的不一样的呀
你可以网上搜索下MFC的windows.manifest
用来使用xp或者win7风格的一段代码
问题好模糊,能截一下图片吗?