cURL / Mailing Lists / curl-library / Single Mail


How to use CURL in VS 2010 DLL application

From: nilesh jethawa <>
Date: Tue, 3 Dec 2013 16:59:55 +0530


I am using CURL library to getting the content from HTML Link in VS 2010.

I follow the below steps:

1) I download the latest Libcurl library for VS 2010

2) Configuration properties->VC++ directories->Include Directories:

3)Configuration properties->VC++ directories->Library Directories:

4) Configuration properties->Linker->Input->Additional Dependencies:


5) I copied into the my project directory: curllib.dll,
    libeay32.dll, openldap.dll, ssleay32.dll, libsasl.dll

6) Configuration properties->General->Use of MFC:
                     "Use MFC in a Static Library"
- Configuration properties->C/C++->Preprocessor->Preprocessor Definitions:

- Configuration properties->C/C++->Code Generation->Runtime Library:
"Multi-threaded DLL (/MD)

After setting above information, I build the DLL.
When I call this DLL from other application, it throws error on LoadLibrary
function i.e. Unable to Load Library.

Please Help me to get out of this problem.
Its work fine with VC++ 6.0, but not in VS 2010.

Thanks in advance


List admin:
Received on 2013-12-03