I'm trying to write a simple curl program to retrieve the web page in VC++ 8.0.
#include <stdio.h>
#include <curl.h>
int main(void)
{
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "curl.haxx.se");
res = curl_easy_perform(curl);
/* always cleanup */
curl_easy_cleanup(curl);
}
return 0;
}
I added the include and library paths to cURL include and lib directory. It complies but when I try to enter debug mode, An unhandled non-continuable STATUS_DLL_NOT_FOUND exception was thrown during process load and code exits with -1073741515 (0xc0000135).