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