cURL / Mailing Lists / curl-library / Single Mail


RE: How to prepare a setup for libcurl development

From: Daniel Stenberg <>
Date: Mon, 7 Dec 2009 14:46:01 +0100 (CET)

On Mon, 7 Dec 2009, wrote:

> Even that doesn't work for me...

Sorry, your top-posting (which shouldn't be used on this list) makes it
totally impossible to figure out what that is referring to.

What doesn't work?

> Also "std::string strHttpContent" contains some variables whose values are
> populated at run time, so I can't provide a plain char* instead I first
> populate strHttpContent & then feed strHttpContent .c_str() to

You MUST provide a plain char *. You cannot selectively provide something

You can of course use .c_str() or whatever means you think is necessary to
get that char * from your c++ object/class.

List admin:
Received on 2009-12-07