The API library you are using does not match your version of Visual FoxPro.
Rebuild the .FLL file, or obtain an updated version.
Rebuild the ActiveX control or obtain an updated version.
For more information, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer’s Guide.