Tom,
the DECLARE command is used to tell VFP how to talk to the Windows API directly. To windows API calls you need to provide VFP with a specific set of information about that Windows API call. You need to provide:
The name of the API call
The parameters of the API Call (If any)
The return Value of the API Call
Where the API call is Located. This is usually a DLL file. You can also specify WINAPI as a parameter and it will look in the the BASE dlls of Windows USER, SYSTEM and GDI I believe.
This is just a preview of this. You might want to look at our book Visual FoxPro Enterprise development for more help on API calls.
Thanks, Rod
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.