VFP can create only COM DLLs. This type of DLLs allows you only to instantiate classes, defined into it. Instead of using DECLARE statement, try to instantiate class (through CreateObject() function) and call its method.
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...