问题描述
我安装了MSVC 141 / VS2017,并安装了两个Windows工具包(10.0.17763.0和10.0.18362.0)。但是,我是否真的可以选择使用哪个ucrtbase.dll?尽管文件系统的Microsoft SDK / Windows Kits有多种变体,但VS会自动使用我的系统DLL。它还使用这些系统DLL考虑使用Windows SDK版本10.0.17763.0或10.0.18362.0构建我的程序。
'Demo.exe' (Win32): Loaded 'C:\Users\business\source\repos\YZ\x64\Release\AEC_Demo.exe'. Symbols loaded.
'Demo.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded.
'Demo.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded.
'Demo.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded.
'Demo.exe' (Win32): Loaded 'C:\Users\business\source\repos\YZ\x64\Release\AEC_DLL.dll'. Symbols loaded.
'Demo.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'.
:
这是dll.intermediate.manifest(我还构建了Demo.exe使用的DLL):
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
这是Demo.exe的清单:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)