锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
]]>
#if
聽(_WIN32_IE聽>=聽0x0300)
聽聽聽聽INITCOMMONCONTROLSEX聽iccx;
聽聽聽聽iccx.dwSize聽
=
聽
sizeof
(iccx);
聽聽聽聽iccx.dwICC聽
=
聽ICC_COOL_CLASSES聽
|
聽ICC_BAR_CLASSES;
聽聽聽聽BOOL聽bRet聽
=
聽::InitCommonControlsEx(
&
iccx);
聽聽聽聽bRet;
聽聽聽聽ATLASSERT(bRet);
#else
聽聽聽聽::InitCommonControls();
#endif
浜屻佸悜欏圭洰涓坊鍔犱竴涓悕涓篩ourApp.exe.manifest鐨勬枃浠訛紝鍏朵腑鐨刌ourApp灝卞啓浣犵殑鍙墽琛屾枃浠剁殑鍚嶇О錛岃繖涓枃浠跺叿鏈塜ML鏍煎紡錛?br />
聽聽
<?
xml聽version="1.0"聽encoding="UTF-8"聽standalone="yes"聽
?>
聽
-聽
<
assembly聽
xmlns
="urn:schemas-microsoft-com:asm.v1"
聽manifestVersion
="1.0"
>
聽聽
<
assemblyIdentity聽
version
="1.0.0.0"
聽processorArchitecture
="X86"
聽name
="CompanyName.ProductName.YourApp"
聽type
="win32"
聽
/>
聽
聽聽
<
description
>
Your聽application聽description聽here.
</
description
>
聽
-聽
<
dependency
>
-聽
<
dependentAssembly
>
聽聽
<
assemblyIdentity聽
type
="win32"
聽name
="Microsoft.Windows.Common-Controls"
聽version
="6.0.0.0"
聽processorArchitecture
="X86"
聽publicKeyToken
="6595b64144ccf1df"
聽language
="*"
聽
/>
聽
聽聽
</
dependentAssembly
>
聽聽
</
dependency
>
聽聽
</
assembly
>
涓夈佸湪搴旂敤紼嬪簭鐨勮祫婧愭枃浠訛紙YourApp.rc錛夌殑欏墮儴涓坊鍔犺繖鏍風殑涓琛岃鍙ワ細
CREATEPROCESS_MANIFEST_RESOURCE_ID聽RT_MANIFEST聽
"YourApp
.exe.manifest
"
鎴戝湪紼嬪簭涓病鏈夊仛絎竴姝ヤ篃鑳芥垚鍔燂紝鍙兘鏄洜涓烘病鏈夌敤API鍒涘緩鐨勭獥鍙f垨鍔ㄦ佺獥鍙o紝鍦ㄧ▼搴忎腑濡傛灉璋冪敤浜咰reateWindow鍑芥暟鍘誨垱寤虹獥鍙o紝鍒欓渶瑕佹墽琛岀涓姝ャ?/p>