在 Visual Studio 2012 (SP4) 中,如果我创建一个新的 Windows EXE 解决方案,请使用 Nuget 命令行“安装包curl”,构建解决方案,程序正确执行并按预期显示简单窗口。
如果我添加一个电话curl_version()
到代码(意味着 cURL、SSL 等...DLL 现在被引用) - 我从 Windows 收到一条错误消息...
MyProgram.EXE - Entry Point Not Found
The procedure entry point CreateFile2 could not be located in the
dynamic link library KERNEL32.DLL.
我使用 Dependency Walker 来验证 DLL(LIBCURL、LIBSSH2、SSLEAY32 和 ZLIB.DLL)是否与 Nuget 安装的相同 - 确实如此。
请帮助...
使用发现问题this https://stackoverflow.com/questions/17102770/using-the-windows-8-sdk-to-compile-for-windows-7解决方案 - 基本上 zLIB v1.2.8.1 引用了 Windows 8 函数 CreateFile2
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)