|
|
1. 在资源文件里选择插入,选择Custom,然后输入资源类型为24,不要输入其他的。
4 c m) L: Q: K7 p' g: T3 C1 K
( o/ c1 Q9 C# T! Y2 a- B3 j) {2. 将下面的XML代码拷入编辑器:5 G& d" x7 Z; n
; ]' F' d: W" B: L3 A3 g% y( h% K. V
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 5 [! u/ {6 o# u6 @! j' [
<assembly
# C. P$ |8 C8 j, Gxmlns="urn:schemas-microsoft-com:asm.v1" * |( W# N+ g4 K. v. t: g* \+ o
manifestVersion="1.0">
" G$ U- c, ^" Q, r8 @; _# b<assemblyIdentity
0 X; T! x* [! @1 ^* \3 C! U! nprocessorArchitecture="x86"
3 R: V3 e' n: wversion="5.1.0.0"0 s& u h0 o2 D( w
type="win32"8 ]" Q3 s+ T8 P, E' ^
name="test.exe"/>
f8 k- l2 B5 [! \/ T, W<description>Test Application</description>
7 e m5 T3 R: t- f4 `<dependency>7 H9 ^0 A* ?+ h4 y9 I
<dependentAssembly>
9 t( R$ T1 k& o8 X<assemblyIdentity
/ ~( S/ r( c x+ f& k# D7 {type="win32"; G0 C) m2 ^# }0 s$ x
name="Microsoft.Windows.Common-Controls": F6 Y6 H9 b( q* y- o+ C+ ~
version="6.0.0.0"+ B/ [( d5 ^/ e3 _ p7 V
publicKeyToken="6595b64144ccf1df"
# t" w& e1 A& E! D/ p* slanguage="*"7 y- _( F# V( b; ?
processorArchitecture="x86"/>/ I( b+ Q- G4 V5 L& _( {. e$ c
</dependentAssembly>) b$ n& O3 I* _ |- ~3 h6 B% h5 O
</dependency>
p4 c5 Y# Y1 z6 |$ b& P% ^</assembly>
) T% F9 z D% y( p
2 I3 Y: t! h! o$ t8 p5 V O; _3. 将资源的ID改为1,一定要是1。 |
|