cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Windows 32 crash under Release libcurl.DLL and Visual Studio 2005

From: <ssal_at_intracom.gr>
Date: Fri, 24 Feb 2006 18:03:42 +0200

I checked and I get the same error :-(

 

  _____

From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Rathi, Dinesh
Sent: Friday, February 24, 2006 10:02 AM
To: libcurl development
Subject: RE: Windows 32 crash under Release libcurl.DLL and Visual Studio
2005

 

Windows dlls have this concept of C runtime libraries (single threaded
debug/ release, multithread debug/ release). Make sure your application and
dll settings are using the same C runtime library.

 

Thanks

Dinesh

 

  _____

From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of ssal_at_intracom.gr
Sent: Friday, February 24, 2006 1:19 PM
To: curl-library_at_cool.haxx.se
Subject: Windows 32 crash under Release libcurl.DLL and Visual Studio 2005

 

Hi,

 

I'm trying to integrate libcurl on a project and I have some problems with
the DLL version.

Even if everything is ok in the Debug version when I try to execute the
Release version I get

error's when calling

 

   res = curl_easy_perform(curl);

 

    /* always cleanup */

    curl_easy_cleanup(curl);

 

I'm using a home made :-) libcurl version which I have compiled with Visual
Studio 2005 (libcurl and Visual Studio 2005),

upon which I needed only to add on line in order to build the lib at easy.c
and more specifically I added

#include <malloc.h> after the #include <stdlib.h>

 

I would appreciate if someone has solved this issue, otherwise I'm thinking
to use libcurl as static library.

 

 

Regards

Sotiris

 
Received on 2006-02-24