如何在visusal studio 2015上编译Windows 7兼容的二进制文件 [英] how to compile a windows 7 compatible binary on visusal studio 2015
问题描述
我在 Windows 10 上使用 Visual Studio 2015.我想编译一个与 Windows 7 兼容的二进制文件.但是项目属性中没有 Windows 7 选项.当我将二进制文件放在 Windows 7 上时,它告诉我过程入口点 CreateEventExA 无法位于动态链接库 api-ms-win-core-synch-l1-2-0.dll 中"
I am using visual studio 2015 on windows 10. I want to compile a windows 7 compatible binary file. But there is no windows 7 option in the project properties. When I put the binary on windows 7, it told me "The procedure entry point CreateEventExA could not located in the dynamic link library api-ms-win-core-synch-l1-2-0.dll"
推荐答案
您需要在目标机器上安装 Visual C++ Redistributable for Visual Studio 2015.这是链接:https://www.microsoft.com/en-us/download/details.aspx?id=48145
You need to install Visual C++ Redistributable for Visual Studio 2015 on the target machine. Here is the link: https://www.microsoft.com/en-us/download/details.aspx?id=48145
这篇关于如何在visusal studio 2015上编译Windows 7兼容的二进制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!