cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to avoid static function in c++ when calling CURLOPT_WRITEFUNCTION

From: Meir Yanovich <meiry242_at_gmail.com>
Date: Wed, 24 Sep 2008 09:34:14 +0300

Hello all
im using curl in my application and its c++ application
im encapsulate the curl init in class and i like to avoid using static
member function
for better multi threaded and OOP support .
but i have problem when i pass the call back function into
CURLOPT_WRITEFUNCTION
it accepts only static function , is there away to pass it not static
call back function ?
Thanks
Received on 2008-09-24