| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: vc++ still having problems
From: Igor Polyakov <ipolyakov_at_issart.com>
Date: Fri, 2 Sep 2005 11:57:49 +0700
Hello, JB,
Friday, September 2, 2005, 6:39:39 AM, you wrote:
> Out of the box, the curl.exe does not even compile clean. nmake with any of
Try build libcurl with the following command-line:
nmake -f Makefile.vc6 CFG=debug-ssl
Create new console project in VC, copy code of your program to the
Set C/C++->Code Generation->Runtime Library option to "Multi-Threaded Debug
Set the Linker->Input->Additional Dependencies option to "libcurld.lib
Set C/C++->Preprocessor->Preprocessor Definitions to
Build your program in debug configuration and enjoy !
The key was to define CURL_STATICLIB macro.
> res = curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buffer);
Have you read documentation for this option ?
CURLOPT_WRITEDATA
Data pointer to pass to the file write function. Note that if you specify
You shoyld pass FILE * as argument for this optionn, but you pass
-- Best regards, Igor Polyakov mailto:ipolyakov_at_issart.comReceived on 2005-09-02 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info