cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with compilling libcurl in Borland c++ 5.5

From: Jean-Marc Desperrier <jmdesp_at_free.fr>
Date: Mon, 21 Nov 2005 19:44:57 +0100

Daniel Stenberg wrote:
> On Sun, 20 Nov 2005, czebartek_at_o2.pl wrote:
>> >bcc32 -L D:\NETLIBS\CURL\lib\libcurl.lib simple.c I get linker error:
>> Unresolved external '__beginthreadex' referenced from
>> D:\NETLIBS\CURL\LIB\LIBCURL.LIB|hostthre
>> That's all. I would be glad if You could help me to solve this problem.
> This function (_beginthreadex) is used in lib/hostthre.c for the
> Windows threaded resolver. I have no idea why your linker can't find
> or how to adjust this. I'm not fluent in windows developing.
The msdn doc says it's available from win98 upward.
It's probably missing from the .lib included with msvc 6, and requires
linking with the .lib from an instance of the platform sdk instead (and
a platform sdk compatible with msvc 6, so an old version, not the
current one).
Received on 2005-11-21