当前位置: 首页 > 工具软件 > Pelles C > 使用案例 >

xp风格(从vs2019 MFC项目里剽窃过来的)

公羊奇
2023-12-01
#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

额 网上老文章是从vs2010等 版本里复制的 貌似有问题,会报错。受这些老文章启发,从vs2019 生成的mfc项目里剽窃了这段代码 

 类似资料: