cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: help with multi and write_data()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 13 Mar 2003 07:08:10 +0100 (CET)

On Wed, 12 Mar 2003, Jacob Hallenborg wrote:

> size_t write_data(void *buffer, size_t size, size_t nmemb, void *stream);

Seeing you're writing a C++ program, surely you will need to use 'extern "C"
{' stuff around the callback function? Otherwise your function will get
confused when called without the 'this' pointer...

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
Received on 2003-03-13