cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: WSAPoll could not be located error (x64 Windows)

From: Cory Nelson <phrosty_at_gmail.com>
Date: Fri, 5 Sep 2008 09:07:10 -0700

On Fri, Sep 5, 2008 at 8:41 AM, Vyacheslav Pascarel
<vpascare_at_opentext.com> wrote:
> Hello,
>
>
>
> I am getting the following error while trying to run an application that
> uses curl 7.16.1:
>
>
>
> "The procedure entry point WSAPoll could not be located in the dynamic link
> library WS2_32.dll"
>
>
>
> Curl library was built for x64 target platform in the VS 2008 IDE from the
> converted .dsp project. Slight modifications were maid in order to compile
> the library (like creation of x64 build configuration and changing a few
> lines of code) – but nothing major that would introduce this problem. I saw
> the similar issue mentioned on the Microsoft site but no solution for it:
>

XP does not have WSAPoll - it's new in Vista. You can build libcurl
with #define _WIN32_WINNT 0x0500 to fix it.

-- 
Cory Nelson
Received on 2008-09-05