在Visual 2012 (SP4)中,如果我创建了一个新的Windows解决方案,请使用Nuget命令行“”,构建解决方案,程序将正确执行,并按预期显示简单窗口。
如果我将对curl_version()
的调用添加到代码中(意思是cURL、SSL等).现在引用DLLs )--我从Windows中得到一个错误:.
MyProgram.EXE - Entry Point Not Found
The procedure entry point CreateFile2 could not be located in the
dynamic link library KERNEL32.DLL.
我使用Dependency来验证DLL (LIBCURL、LIBSSH2、SSLEAY32和ZLIB.DLL)是否是相同的Nuget安装--而且它们是。
救命啊..。
发布于 2014-04-23 13:21:21
使用this解决方案发现问题--基本上zLIB v1.2.8.1引用了Windows8函数CreateFile2
https://stackoverflow.com/questions/23225374
复制相似问题