Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-02

Winsock DLL - 1.9.3 beta

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

paradice

Hi everyone -

I am currently in the process of testing all of my code with the new 1.9.3 betas (I downloaded win32 1.9.2 and added the latest snapshot)and I think I have come across a problem with the Winsock unit. When running a winsock program I get the following error message at run-time:

The procedure entry point GetLastError could not be located in the dynamic link library Wsock32.dll

I'm using Windows XP (I get a similar error under Windows ME when I tried it there).

The program compiles & runs fine with FPC 1.0.10;

I don't have the source code to the snapshot (the Winsock unit specifically, I guess) so I can't check what has changed, but I think the procedure name should be "WSAGetLastError" rather than "GetLastError" - I'm not certain though. Any other ideas?

Lawrence
www.paradicesoftware.com

Reply by email

Matt Emson
to paradice
The procedure entry point GetLastError could not be located in the dynamic link library Wsock32.dll

The GetLastError function is exported from the kernel32.dll, not WSock32.dll. The declaration for the function may be wrong.

Matt

Reply by email