|
|
1. 在资源文件里选择插入,选择Custom,然后输入资源类型为24,不要输入其他的。9 l- n0 x6 R! X1 S) j4 F7 v8 }
" A) H- y) j: ]+ e$ P2. 将下面的XML代码拷入编辑器:
' T" T% }! b9 p4 @7 ~+ @# G" C0 s' W9 _5 Z) B. A* Q
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> " f. r+ j! G% Y8 @3 X! e1 q$ P
<assembly
/ P+ B5 P9 p; nxmlns="urn:schemas-microsoft-com:asm.v1"
: U0 V! b5 \2 v+ U0 U: [% Z7 [manifestVersion="1.0">& Y Y2 }$ c0 F5 K
<assemblyIdentity
* F. `3 X$ L9 j3 DprocessorArchitecture="x86" 8 \1 }6 d, O+ p# g& } p( I4 b
version="5.1.0.0"+ [5 @4 B4 G! w+ o' I; q/ e
type="win32"
7 Y; s1 o( }2 _5 K7 i! n1 N$ Cname="test.exe"/>/ J0 a/ d5 [, @
<description>Test Application</description>
' t2 E1 K2 X2 `* K/ ]<dependency>
5 s& b, C) C' ^) }! u x- n<dependentAssembly>$ z7 S$ V9 {. n
<assemblyIdentity5 u6 j: F& ]. D
type="win32"; s# Y; w# i# z
name="Microsoft.Windows.Common-Controls"
5 D* I, ?* c. Y& u: }( a6 Hversion="6.0.0.0"
' D2 c; s$ c; ?8 CpublicKeyToken="6595b64144ccf1df"/ [4 p' w, d& r& ~0 C. Y( q8 S1 A
language="*"2 p5 K) m% C. Z& D
processorArchitecture="x86"/>: L% T+ q6 f1 `0 b5 @+ `
</dependentAssembly>
, n7 h( ?5 p8 o1 x6 O5 [) i</dependency>
7 J5 E i7 Y2 K4 j! O2 t</assembly>
3 O2 _- i5 L8 n0 r2 G5 E+ J0 B; s: v; b! [' ^3 c% o6 a
3. 将资源的ID改为1,一定要是1。 |
|