>I am trying to call a dll written in c and getting an error that states. "cannot load dll"
VFP6 can't access Win16 DLLs directly - the DECLARE...DLL syntax supports Win32 API calls directly. You may be able to use FoxTools (don't know - haven't tried) or may need to write a Win32 wrapper DLL to get at a Win16 DLL.
VFP can acces most of the C-calling-style DLLs directly as long as no callback is required. You may need to use something to manage structures like Christof Lange's STRUCT class, or my CLSHEAP class, both of which can be downloaded from here on UT.
How are you trying to access the function in the .DLL?