|
|
1. 在资源文件里选择插入,选择Custom,然后输入资源类型为24,不要输入其他的。; h3 S5 u$ a( ?8 C n. s# E$ [
2 M7 g i$ C+ S& E5 j5 C7 ^- x2. 将下面的XML代码拷入编辑器:
& b/ c+ a; i6 T; a* J) E+ z
2 g' g9 m, L* U0 n<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 w% @9 w! c/ U+ ?<assembly
# V; o" R* k/ i$ \; wxmlns="urn:schemas-microsoft-com:asm.v1"
4 I$ x, |( m6 T( O1 ^! d* U3 B8 ^manifestVersion="1.0">
. u5 r/ ~' j" E) }4 Y/ J<assemblyIdentity
, S# L P8 E6 Z$ O. U( NprocessorArchitecture="x86" 6 X9 J' o8 p' d( N' ?1 P
version="5.1.0.0"+ e, ]0 q. B9 G7 q+ V! a0 F
type="win32"
4 J) j, C- w/ y Xname="test.exe"/>4 i& J5 g* X, P$ c/ o; ~5 h
<description>Test Application</description>; H- \+ ^& I$ R& R# ~" M' w0 H7 a
<dependency>
+ s5 u$ A$ y4 }0 z" |<dependentAssembly>0 p; f0 F: r) D6 ^3 x
<assemblyIdentity
2 ], P/ A1 ~' G* t6 U1 ztype="win32"
. }0 V d1 B/ F$ I9 i' Mname="Microsoft.Windows.Common-Controls"/ e2 x+ X$ _' t5 |% U7 `
version="6.0.0.0", c* ~4 j) ^" h- W U
publicKeyToken="6595b64144ccf1df"% Q: w( X( y0 F' }8 V: ?
language="*"
A6 g k9 ^5 ^! ~" ?) d2 wprocessorArchitecture="x86"/>
4 _' M# F" |' e4 e4 q+ D1 p# U</dependentAssembly>( ~+ c. Z3 J6 G" F" e
</dependency> t% L1 I u0 m$ h& |- \
</assembly># i2 K5 P& P P; C2 O8 T3 i
/ k' t( n% S6 s9 n8 c# O( n/ m3. 将资源的ID改为1,一定要是1。 |
|