|
|
1. 在资源文件里选择插入,选择Custom,然后输入资源类型为24,不要输入其他的。. H$ v+ q9 s0 p& r! f
- M1 w" n2 X+ A3 l/ d2 t7 G2. 将下面的XML代码拷入编辑器:9 C3 ~& c0 s, z% y3 M9 G
, W) R9 x) k9 X. w& }; g) U
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> ' ^! U1 d0 X+ j4 |7 H, Y
<assembly ' C" V, d# f# r1 f% `7 ^- G2 h
xmlns="urn:schemas-microsoft-com:asm.v1" ! g' C: D, l3 `9 h. |8 I5 t
manifestVersion="1.0">
" F. D+ J4 C0 Y- l<assemblyIdentity 0 W3 V4 a7 \2 v3 O* X
processorArchitecture="x86" & @, F+ F9 J$ b5 G/ h4 `. M. s1 }7 b
version="5.1.0.0"4 ~9 q8 s m0 p G+ u" P. Y
type="win32"7 Y0 ~ _3 {5 B4 N0 d' a8 f
name="test.exe"/>2 Z, c* e7 O S" p
<description>Test Application</description>
- p" y7 e) O8 d/ n: r; H4 [2 x<dependency>( j- T" q$ q+ b. e, i
<dependentAssembly>
( y' p2 y8 O8 f9 k" ^2 t, [<assemblyIdentity
) Q! I1 e% |% h, J3 ]" {( f$ t& |% }type="win32"
; K( y4 n; R7 Y; k3 l3 Wname="Microsoft.Windows.Common-Controls"
, z- a$ f3 }& h# x4 ~2 w# |9 l! o" y( Oversion="6.0.0.0"6 j5 ?5 h: l U7 V C6 p% `
publicKeyToken="6595b64144ccf1df"
/ L- f4 z% y: ylanguage="*"7 S# i9 G" `. r! L7 W2 H; m
processorArchitecture="x86"/>8 ?" {* _+ R, \. `
</dependentAssembly>% Y3 U8 t: P* m; q. F
</dependency>) t' F, Q G, G
</assembly>. Q7 P/ u$ m1 K. r
( x0 D; X- E4 W4 _
3. 将资源的ID改为1,一定要是1。 |
|