S
shodoy
Unregistered / Unconfirmed
GUEST, unregistred user!
我用FASTNET控件时,在Winsock.pas就会出现错误.
unit Winsock;
interface
{$IFNDEF VER80}
'This file is for use with Delphi 1 only. Use the Borland provided file'在此处提示"Declaration expected but string constant found"
'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}
function WSAIsBlocking: BOOL;
此处提示"Undecalared identfier:Bool"
function WSASetBlockingHook(lpBlockFunc: TFarProc): TFarProc;此处提示"Undecalared identfier:TFarProc"
function WSAAsyncGetServByName(HWindow: HWND;
wMsg: u_int;
name, proto, buf: PChar;
buflen: Integer): THandle;此处提示"Undecalared identfier: HWND"
....
为什么?
unit Winsock;
interface
{$IFNDEF VER80}
'This file is for use with Delphi 1 only. Use the Borland provided file'在此处提示"Declaration expected but string constant found"
'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}
function WSAIsBlocking: BOOL;
此处提示"Undecalared identfier:Bool"
function WSASetBlockingHook(lpBlockFunc: TFarProc): TFarProc;此处提示"Undecalared identfier:TFarProc"
function WSAAsyncGetServByName(HWindow: HWND;
wMsg: u_int;
name, proto, buf: PChar;
buflen: Integer): THandle;此处提示"Undecalared identfier: HWND"
....
为什么?