给exe加dpi相关清单命令
作者:互联网
将b
清单加给a
程序:
mt.exe -nologo -manifest "b.manifest" -outputresource:"a.exe;1"
从a
程序提取出2
清单:
mt.exe -inputresource:a.exe;#1 -out:2.manifest
下面为dpi
相关清单.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<asmv3:application>
<asmv3:windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>
标签:exe,程序,manifest,mt,清单,dpi 来源: https://blog.csdn.net/fqbqrr/article/details/121494326