You need to declare the return type and types of each parameter. Forget the SET PROC, you don't use that.
An example would be:
DECLARE INTEGER _fpreset IN msvcrt20 STRING, STRING, INTEGER
I normally put the parameter name after each declaration. If you pass by reference, use the @ before the name.
If you require boolean (logical), use INTEGER.
>I am trying to use the following dll (in development area of FoxPro).
>
>I issue the following commands in my (set) environment program file, but FoxPro doesn't like it. Can anyone tell me how to declare this library?
>
>
>DECLARE _fpreset IN msvcrt20.dll
>SET PROCEDURE TO msvcrt20.dll