libcurl库curl_easy_perform 崩溃

程序执行到curl_easy_perform这个函数就崩溃了,按F5继续运行,VS显示是异常,debugheap什么的,感觉是debug的库与release的库有区别,更换为debug的库,就好了。

libcurl的编译方法是用vs的命令行 进入源码下winbuild目录下,执行

nmake /f Makefile.vc mode=static debug=yes machine=x86

默认不指定debug编译的是release版本。

猜你喜欢

转载自blog.csdn.net/v6543210/article/details/81542465