|
1. 在资源文件里选择插入,选择Custom,然后输入资源类型为24,不要输入其他的。
# g8 r% k+ c8 l) B3 I* R' C0 R$ i
2. 将下面的XML代码拷入编辑器:4 }( a- @1 r0 t
4 \# p/ _* V/ t* }6 K
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
, c% i! w% y6 F, D7 m<assembly $ \$ z5 J* b% b7 ]7 @, U
xmlns="urn:schemas-microsoft-com:asm.v1"
: W; t0 B4 v3 U ~' DmanifestVersion="1.0">
$ L1 `3 n* m) q2 `<assemblyIdentity
$ a4 S9 k6 R( dprocessorArchitecture="x86" . I1 z5 V# J5 X) i
version="5.1.0.0"
2 Z' M/ ]& l& M0 W2 G% |type="win32"
' C7 u6 ^1 i1 B% J( Bname="test.exe"/>
7 A! Y. ]9 `. a9 W, I: @8 d/ _2 A/ N* w<description>Test Application</description>
- q! i% \0 \" d$ @9 `, P<dependency>' \5 u1 P T. F: i. ?
<dependentAssembly>
5 F9 I" J& J% Q, B$ O0 g* k, x2 Q<assemblyIdentity
- X5 [ ^* y3 Z* xtype="win32"
: R% h3 a- d( \( fname="Microsoft.Windows.Common-Controls"
0 Z+ K" p' Y8 Bversion="6.0.0.0"
8 B: b1 ]1 c0 opublicKeyToken="6595b64144ccf1df"
0 f% E! ?6 V1 j0 r& N( `2 ]+ y% xlanguage="*"
# U. K5 l6 ]6 y; @* HprocessorArchitecture="x86"/>
d e( M0 c2 R6 N$ Q) [ h</dependentAssembly>5 l* s6 Y0 o3 e4 s' }
</dependency>9 _6 u7 [+ g: L! [
</assembly> a, a [) E1 b
1 d; p8 W) q( I! D4 \; g- z3. 将资源的ID改为1,一定要是1。 |
|