在Vista以上版本运行WTL程序,有时候会提示“这个程序可能安装补正确...”的错误...
生活随笔
收集整理的這篇文章主要介紹了
在Vista以上版本运行WTL程序,有时候会提示“这个程序可能安装补正确...”的错误...
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在Win7/Vista下,如何以兼容模式運行exe? https://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx 問題描述:在Vista以上版本運行WTL程序,有時候會提示“這個程序可能安裝補正確...”的錯誤,如下圖所示: 解決方法:需要在VS中設置,工程屬性->Configuration Properties->Manifest Tool->Input and Output->Addition Manifest Files,設置wtl.exe.manifest文件的路徑;如下圖所示: 其中,wtl.exe.manifest文件內容如下: 1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
3 <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
4 <application>
5 <!--The ID below indicates application support for Windows Vista -->
6 <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
7 <!--The ID below indicates application support for Windows 7 -->
8 <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
9 </application>
10 </compatibility>
11 </assembly>
?
轉載于:https://www.cnblogs.com/nchxmoon/p/4391741.html
總結
以上是生活随笔為你收集整理的在Vista以上版本运行WTL程序,有时候会提示“这个程序可能安装补正确...”的错误...的全部內容,希望文章能夠幫你解決所遇到的問題。