curl-library
Re: Static Libcurl crashes on MSVC13
Date: Fri, 26 Feb 2016 15:30:16 +0100
No the source code form the guide isn't an email receive program, it's just
a code to check if libcurl works.
This is the code:
#include "stdafx.h"
#include <curl/curl.h>
void main(int argc, char* argv[]){
CURL *curl = curl_easy_init();
if (curl) printf("curl_easy_init() succeeded!\n");
else fprintf(stderr, "Error calling curl_easy_init().\n");}
That one says url_easy_init() succeeded! when ran, so it's weird that the
curl_easy_perform function crashes. I received 3 answer from your support
(which is awesome), so first i will try to get the answer from their
responses.
2016-02-26 13:04 GMT+01:00 Daniel Stenberg <daniel_at_haxx.se>:
> On Fri, 26 Feb 2016, Jules van der Toorn wrote:
>
> I personally think something went wrong with linking it, but then i don't
>> understand why the simple code from the guide does work and this one
>> doesn't.
>>
>
> Perhaps because this uses TLS and other one didn't?
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-02-26