Hi Mark,
>I get no error. But when I try to use the function I get the "Cannot find entry point" error. Why is that??
As George pointed out, the declaration must be incorrect. If it's not due to case sensitivity, it might be that the function in the DLL is not exported in C, but in C++ format or is using a wrong calling convention.
The reason why you don't get an error on the Declare statement is that VFP doesn't verify that the function exists in the DLL. Only if you declare a function in the pseudo-DLL WIN32API, you get an immediate error message, since WIN32API means that VFP tries to find the function in about 6 libraries. Since it searches for the function right here, it can report an error.
Christof
--
Christof