加了UAC,却看不到盾牌标志解决方案
加了UAC,却看不到盾牌标志
之前在delphi7下加过,在win7下能显示盾牌标志。
现在是用delphi2010,盾牌标志显示不了,已去掉delphi2010自带的资源里的uac权限资源,在另外的工具里也能看到成功添加了uac的资源
------解决方案--------------------
你怎么加的
------解决方案--------------------
{$R uac.res}
放在原有的{$R *.res}后面
------解决方案--------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="CodeGear RAD Studio"
version="14.0.3615.26342"
processorArchitecture="*"/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="*"/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
这样试试呢?
------解决方案--------------------
asInvoker换成highestAvailable
之前在delphi7下加过,在win7下能显示盾牌标志。
现在是用delphi2010,盾牌标志显示不了,已去掉delphi2010自带的资源里的uac权限资源,在另外的工具里也能看到成功添加了uac的资源
------解决方案--------------------
你怎么加的
------解决方案--------------------
{$R uac.res}
放在原有的{$R *.res}后面
------解决方案--------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="CodeGear RAD Studio"
version="14.0.3615.26342"
processorArchitecture="*"/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="*"/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
这样试试呢?
------解决方案--------------------
asInvoker换成highestAvailable