DECLARE [cFunctionType] FunctionName IN LibraryName [AS AliasName] [cParamType1 [@] ParamName1, cParamType2 [@] ParamName2, ...]So you need to know the function name and what parameters it takes. For a simple example: to declare the Sleep function (like INKEY) :
DECLARE INTEGER Sleep IN Win32API ; INTEGER nMillisecondsTo use it in VFP - after declaring it above you would type:
=Sleep(5000) && 5000 milliseconds wait
>HI guys..