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

        复制下面内容,存为 *.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 >    

你可能感兴趣的:(XP,assembly,insert,import,encoding)