curl-library
Re: Access Violation with Win32 DLL
Date: Sun, 09 Jan 2005 12:57:58 -0600
Hello,
I was able to solve this problem, so I will post a follow-up to my own request.
Because the curl Win32 devel package for Microsoft Visual C++ does not
support SSL (although it states that it does) I substituted the DLL from
the Mingw Win32 devel package into my project. That created access
violations because the import library from the package for Visual C++
(libcurl.lib) was version 7.12.3 but the DLL from the mingw package was
version 7.12.2. In hindsight I should have realized this right away had I
been more thorough.
So, to compile an application using curl with SSL support as a Win32 binary
DLL, I needed the libcurl.lib file from the MSVC devel package version
7.12.2 and the libcurl.dll file from the mingw devel package of the same
version (from the older versions archive). I believe I used the header
files from the MSVC package as well.
It might save some frustration for future users if the labeling of the MSVC
package were updated so folks aren't surprised by the missing SSL support.
Thanks to all who maintain libcurl for making the power it offers available
to developers like me.
Mark
Received on 2005-01-09