XP 通用控件清单:processorArchitecture='x86' vs.processorArchitecture='*'
有什么好处?
#pragma comment(linker, "/manifestdependency:\"type='win32'" \
"name='Microsoft.Windows.Common-Controls'" \
"version='6.0.0.0'" \
"processorArchitecture='x86'" \
"publicKeyToken='6595b64144ccf1df' language='*'\"")
使用“说”而不是
#pragma comment(linker, "/manifestdependency:\"type='win32'" \
"name='Microsoft.Windows.Common-Controls'" \
"version='6.0.0.0'" \
"processorArchitecture='*'" \
"publicKeyToken='6595b64144ccf1df' language='*'\"")
在指定清单时
What's the advantage of saying
#pragma comment(linker, "/manifestdependency:\"type='win32'" \
"name='Microsoft.Windows.Common-Controls'" \
"version='6.0.0.0'" \
"processorArchitecture='x86'" \
"publicKeyToken='6595b64144ccf1df' language='*'\"")
instead of
#pragma comment(linker, "/manifestdependency:\"type='win32'" \
"name='Microsoft.Windows.Common-Controls'" \
"version='6.0.0.0'" \
"processorArchitecture='*'" \
"publicKeyToken='6595b64144ccf1df' language='*'\"")
when specifing a manifest?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 x86 意味着如果您面向 64 位平台,则无法使用清单。我想说这是一个缺点。我认为使用
*
更好。Using
x86
means that the manifest cannot be used if you target 64 bit platforms. I'd say that this was a disadvantage. I think using*
is better.