XP Common Controls Manifest:processorArchitecture ='x86'与processorArchitecture ='*'

时间:2011-09-08 08:10:42

标签: winapi visual-c++ manifest common-controls

有什么好处
#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='*'\"")

何时指定清单?

1 个答案:

答案 0 :(得分:3)

使用x86表示如果您以64位平台为目标,则无法使用清单。我会说这是一个劣势。我认为使用*会更好。