cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Writing verbose infos to file fails on win32 !

From: Holger Rauch <holger.rauch_at_heitec.de>
Date: Thu, 27 May 2004 16:01:57 +0200

Hi Stefan!

On Thu, 27 May 2004, Stefan Libcurl wrote:

> Hi !
>
> I want to write verbose infos to a file.
>
> Here my code:
> [...]
> After curl_easy_perform(curl) my program crahes.
>
> What's going wrong ?

Where's your call to curl_easy_init()? I didn't see that in your piece of
code and this call is essential and gives you a new CURL* you can use later
on. This call should be placed *before* any other actions related to libcurl
(curl_easy_setopt(), etc.)

Hope this helps.

Greetings,

        Holger
Received on 2004-05-27