c++ - How properly connect libcurl to Visual Studio 2012? -
i want use in project libcurl library. here steps did connect libcurl library msvs 2012: 1. downloaded package official site libcurl-7.19.3-win32-ssl-msvc.zip 2. dll , lib files placed in c:\program files\microsoft visual studio 11.0\vc\lib 3. curl folder header files copied c:\program files\microsoft visual studio 11.0\vc\include 4. in vs 2012 in project's options added curllib.lib string 5. dll files copied project's debug folder but when run example: int main(void) { curl *curl; curlcode res; curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, curlopt_url, "https://api.copy.com/oauth/request"); /* example.com redirected, tell libcurl follow redirection */ curl_easy_setopt(curl, curlopt_followlocation, 1l); /* perform request, res return code */ res = curl_easy_perform(curl); /* check errors */ if(res != curle_ok) fprintf(stderr, "curl_easy_perform() failed: %s\n", curl_easy_strerro...