cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: cant resolve host on visual studio 2013

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 04 Mar 2015 14:56:36 -0500

On 3/4/2015 2:25 PM, Azat Manukyan wrote:
> Turns out that the problem was in curl_global_init(CURL_GLOBAL_SSL). I
> don't no why but when i canged the CURL_GLOBAL_SSL parameter to
> CURL_GLOBAL_ALL the lib starts work on windows.
>

Oops I missed that. I should've ran your example. That is the right
answer. In Windows you must pass flag CURL_GLOBAL_WIN32, or something
that includes it like CURL_GLOBAL_ALL. Glad you got it working.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-04