|
|
1. 在资源文件里选择插入,选择Custom,然后输入资源类型为24,不要输入其他的。
0 ^& z3 t$ e) s( p r6 [$ Q2 X5 J9 w: v& ]5 H( O- r B
2. 将下面的XML代码拷入编辑器:
% A( u) ]9 `" o+ R" S0 j# C, Y; c) z1 o f3 Y
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
0 d8 O5 ?. E0 d2 m5 S" H% m<assembly
! O, A% V6 B5 exmlns="urn:schemas-microsoft-com:asm.v1" . W& l, A+ \1 F/ a
manifestVersion="1.0">
" J* H6 }7 l4 v+ W<assemblyIdentity
% q2 y3 K3 w. zprocessorArchitecture="x86"
, i! L$ i& n7 \$ wversion="5.1.0.0"
! o! Q8 ?# b$ y @2 p6 \) l# ]type="win32"0 I: t2 c5 \1 q* j t( [ {
name="test.exe"/>
5 S. q' k/ C' v<description>Test Application</description>
( k! G$ |5 Z+ t! ~7 Y<dependency>
7 X0 j+ ?& Y+ t8 T<dependentAssembly>+ p* U+ G! P* J# [ {5 p
<assemblyIdentity
8 `% v K9 O$ O1 h$ G0 Utype="win32"
$ D- l$ j4 G7 d, |7 ~9 `name="Microsoft.Windows.Common-Controls"
# g8 {3 V% X& S. \. L/ fversion="6.0.0.0"/ _& i. l9 w1 A0 A
publicKeyToken="6595b64144ccf1df"
; [! t# l9 E2 }1 v3 Planguage="*"1 |) A/ h/ X# c
processorArchitecture="x86"/>6 i& ]* T' b! \+ E. g6 U7 y- R: G
</dependentAssembly>
5 i) q+ g# x2 R, b5 b</dependency>- V& m6 a: H2 O b) ]' @! T' m8 k5 A
</assembly>
4 F& T' h5 ~! L5 C( I. ^5 i) M' y1 R: \
3. 将资源的ID改为1,一定要是1。 |
|