为什么我的VB6应用程序清单在64位机器上被忽略了?

前端之家收集整理的这篇文章主要介绍了为什么我的VB6应用程序清单在64位机器上被忽略了?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在VB6应用程序中嵌入了以下清单.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
    <assemblyIdentity version="1.0.0.0"
processorArchitecture="X86"
name="ExeName"
type="win32"/> 
<description>elevate execution level</description> 
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
  <security>
     <requestedPrivileges>
        <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
     </requestedPrivileges>
  </security>
 </trustInfo>
</assembly>

在32位Server 2008计算机上,文件正确显示,并显示“Admin Shield”图标覆盖,并且只能以管理员身份运行.在64位Server 2008上,同一文件没有图标覆盖,可以正常运行.

我已经尝试将processorArchitecture =“X86”更改为“*”和“ia64”,并且还从已编译的应用程序中删除清单并将其作为外部清单,但都无济于事.

任何想法都感激地收到了.

猜你在找的VB相关文章