Problem z winsock

0

Cze, mam problem z biblioteka winsock. Otoz jak kompiluje jakis program, ktory uzywa wymieniona biblioteke to mam ogromna ilosc bledow. jeden wskazuje na takowy komentarz:
{$IFNDEF VER80}
'This file is for use with Delphi 1 only. Use the Borland provided file'
'with any other Delphi Version. If you use this file with Delphi 2 or 3'
'this is probably because your library path is wrong or you have not'
'restored the directory structure when unzipping the file (you must use'
'pkunzip option -d to restore the files).'
{$ENDIF}
oraz takie bledy:
[Error] WinSock.pas(47): Declaration expected but string constant found
[Error] WinSock.pas(524): Undeclared identifier: 'BOOL'
[Error] WinSock.pas(526): Undeclared identifier: 'TFarProc'
[Error] WinSock.pas(528): Undeclared identifier: 'HWND'
[Error] WinSock.pas(555): Undeclared identifier: 'MakeLong'
[Error] WinSock.pas(560): Undeclared identifier: 'MakeLong'
[Error] WinSock.pas(565): Undeclared identifier: 'LOWORD'
[Error] WinSock.pas(570): Undeclared identifier: 'HIWORD'
[Error] WinSock.pas(575): Undeclared identifier: 'LOWORD'
[Error] WinSock.pas(580): Undeclared identifier: 'HIWORD'
[Fatal Error] wsocket.pas(506): Could not compile used unit 'WinSock.pas'
Co mam zrobic zeby wszystko bylo okej?
Z gory dzieki

0

przecież jest napisane że ta biblioteka jest tylko dla Delphi 1...

0

No to skad mam wytrzasnac ta biblioteke do wersji 7 (delphi) ?

1 użytkowników online, w tym zalogowanych: 0, gości: 1