On Fri, Mar 13, 2009 at 08:44:48AM +0800, Lisa Xu wrote:
> I want to use "curl_easy_setopt(curl, CURLOPT_STDERR, stdout)" to redirect the
> stderr to stdout stream. But I got an error "0xC0000008:Invalid Handle" when I
> call curl_easy_perform() function.
>  
> My curl version is:
> curl 7.19.3 (i386-pc-win32) libcurl/7.19.3 OpenSSL/0.9.8e zlib/1.2.3 libssh2/
> 1.0
>  
> Could anybody give me a help?

There's a problem on Windows with using stdio between an app and a DLL. Try 
explicitly
setting CURLOPT_WRITEFUNCTION to fwrite and see if that helps.

>>> Dan
-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved

Reply via email to