https://bbs.youkuaiyun.com/topics/392553943
将如下内容加入原文件:
#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
Windows控件兼容性:跨平台编译链接依赖声明
本文档介绍了如何在不同处理器架构上为Windows应用程序添加Common Controls的manifest dependency,确保在编译链接时正确设置依赖,以便在Unicode环境下运行。
1845

被折叠的 条评论
为什么被折叠?



