cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: progress hook question

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 4 May 2004 16:39:50 +0200 (CEST)

On Tue, 4 May 2004, Mike Huffman wrote:

> After these changes, I still get zeros. Note that I also wrote a seperate
> c++ minimal app like this and got zeros sending the parameters to cout.

Then I don't know. 'curl -#' seems to work for me (uses the progress callback)
and my program I showed you the code snipped from works as well.

Rebuild libcurl with debug options and set a break-point where it calls the
progress callback (around lib/progress.c:320) and figure out why you get all
zeroes!

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-04