找回密码
 注册
搜索
查看: 4037|回复: 0

[收藏]让VC6.0写出来的程序在WinXP下显示为XP风格

[复制链接]
发表于 2004-5-7 13:27:18 | 显示全部楼层 |阅读模式
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。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|宁德市腾云网络科技有限公司 ( 闽ICP备2022007940号-5|闽公网安备 35092202000206号 )

GMT+8, 2025-11-14 22:04 , Processed in 0.016970 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表