curl-library
Re: Integration in a DLL
Date: Wed, 01 Feb 2006 16:28:38 +0100
Yes you're right, libcurl is linked statically, I also managed to link
it with libcurl_imp.lib, which is the import *.lib.
It didn't work while I was trying to load the libcurl library with a
LoadLibrary, even if I had correctly imported all the libcurl functions
that I needed.
Have you written a header to import all the libcurl functions dynamically ?
Joerg Mueller-Tolk a écrit :
> JCDUS wrote:
>
>> I managed to make my DLL work fine ! I don't know what really was
>> going wrong, but I first was loading libcurl dynamically in my DLL ,
>> then I finally linked my DLL with libcurl.lib and everything is going
>> right.
>
>
> If I got you right, your current working solution involves statically
> linking libcurl.
> If you want to have libcurl as a DLL I might be able to help you, as
> my C++ DLL uses libcurl with openssl both as DLLs without any problem.
>
> regards
> Jörg M-T
>
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
Received on 2006-02-01