cURL / Mailing Lists / curl-library / Single Mail

curl-library

[HELP] curlib.lib

From: Tiago Conceição <tiago_caza_at_hotmail.com>
Date: Sun, 08 Apr 2007 19:44:42 +0000

coding in c++ ! WIN32

i want use libcurl without have/run libcurl.dll !!!

i have made some test and:

including only:

curllib.lib = external errors
libcur.lib + curllib.lib = Works without the libcurl.dll (i think)
libcur.lib = Works with the libcurl.dll (i think)

im using libcur.lib + curllib.lib works well

but:

#ifdef _WINDOWS
#define CURL_STATICLIB
#endif

#include "curl.h"

void test1()
{
        CURL *curl;
        CURLcode res;
        curl = curl_easy_init();
        if(curl)
        {

        }
}

void test2()
{
        CURL *curl;
        CURLcode res;
}

Test 1 dont work (plugin not load but server load)

Test 2 works (plugin load but no curl functions )

        curl = curl_easy_init();
        if(curl)
        {

        }

this block plugin load = no load plugin

curl = curl_easy_init();
i try to only put that : curl_global_init(CURL_GLOBAL_ALL);

using

curl = curl_easy_init();
OR
curl_global_init(CURL_GLOBAL_ALL);

block plugin load

in linux works all wth only curlib.a

any ideas to solve this?

Im using curl-7.16.1

_________________________________________________________________
Junte-se à evolução comunicacional - os seus amigos vão dar por isso!
http://www.communicationevolved.com/pt-pt/
Received on 2007-04-08