VC其它-如何让VC6.0编译出来的程序有XP风格

来源:互联网 发布:汉诺塔问题c语言结果 编辑:程序博客网 时间:2024/04/29 17:42
        复制下面内容,存为 *.exe.manifest ,放到你编译好的执行文件目录中,假如执行文件名为: play.exe,那么该文件就叫play.exe.manifest.然后用VC打开该项目 Insert Resource -> Import -> Resource type 填 24 -> ID 填 1 ,编译即可.
<?xml   version="1.0"   encoding="UTF-8"   standalone="yes"?>  
   
  
<assembly   xmlns="urn:schemas-microsoft-com:asm.v1"   manifestVersion="1.0">  
      
<assemblyIdentity  
      
type="win32"  
          name
="DelphiApplication"  
          version
="1.0.0.0"    
      processorArchitecture
="*"/>  
      
<dependency>  
          
<dependentAssembly>  
              
<assemblyIdentity  
                  
type="win32"  
                  name
="Microsoft.Windows.Common-Controls"  
                  version
="6.0.0.0"  
                  publicKeyToken
="6595b64144ccf1df"  
                  language
="*"  
                  processorArchitecture
="*"/>  
          
</dependentAssembly>  
      
</dependency>  
  
</assembly>