cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: curlopt_writefunction sending weird parameter values

From: Andy Shellam (Mailing Lists) <andy-lists_at_networkmail.eu>
Date: Mon, 16 Nov 2009 19:41:40 +0000

Hi Lars,

>>
>> Make OnDataRead() a static member function and use CURLOPT_WRITEDATA
>> (possibly the "this" pointer when setting up the connection) to
>> provide a proper context for each callback?
>
> I now see others have replied to another copy of this email, so
> disregard my reply, please.
>

Thanks very much for the reply - and to the guys who replied - I realised what I'd done about 5 minutes after I sent the e-mail! It was one of those "eureka" moments. I'd been looking over and over at the source file (cpp) and never thought to check the header file (hpp.)

Cheers,
Andy

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-16

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET