It is correct declaration. I copied it into the command window and ran w/o any problem.
>I just started using the WinINet.dll in one of my programs but I can't declare the FtpGetFileSize function. I am using VFP7SP1 with Win2000Pro. While looking for help I found the following:
>FoxPro declaration:
>DECLARE INTEGER FtpGetFileSize IN wininet.dll ;
> INTEGER hFile, ;
> STRING @ lpdwFileSizeHigh
>
>When I use this declaration I get the error "Command Contains Unrecognized Phrase/Keyword"
>Can anyone tell me how to declare this correctly?
>Thanks in advance,
>Brian
--sb--