cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl + MFC as a static library?

From: Guido Reina <guidoreina_at_isdn-si.com>
Date: Tue, 5 Nov 2002 17:55:20 +0100

Thanks to libcurl, I could specify my own read function (which just does fread). Now I have two dlls, the DEGUG and the RELEASE version.

Thanks,

Guido.
  ----- Original Message -----
  From: Guido Reina
  To: curl-library_at_lists.sourceforge.net
  Sent: Monday, November 04, 2002 4:40 PM
  Subject: libcurl + MFC as a static library?

  Hi there,

  I have developped a MFC program under Visual C++ 6.0 (I use libcurl 7.10.1) and everything works fine. The problem arises when I change the configuration to use MFC as a static library, in this case libcurl crashes (the call stack shows: curl_easy_perform (line 245) -> Curl_perform (line 1491) -> Transfer (line 1168) -> Curl_readwrite (line 883) -> fread -> error unhandled exception (Access Violation)). What I am doing wrong?

  Thanks in advance,

  Guido.

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Received on 2002-11-05