Mike said:
I also have a never installed VFP4.0 (beta)...
You lucky dog. That's gotta be a rare collector's item for sure.
grahamrhind,
OK, so given the error... where are your SET LIBRARY TO calls in the program and what are they (rhetorical question)? Can you compile a special version of the EXE with some simple diagnostic code in it to help you narrow down the problem (this is assuming multiple calls to SET LIBRARY TO are in your program, if you have only one then you already know what the problem line of code is and which library is unable to be located)? Something as simple as...
Code:
if !File("C:\MyLib.FLL")
Messagebox("MyLib.Fll cannot be located contact grahamrhind at 555-555-5555")
Set Library to C:\MyLib.FLL
endif
...would be sufficient to provide more information. Other things, is your app relying on VFP to search the PATH for the fll or is the fullpath for the library being provided in code? If it is, then perhaps your user has somehow overwritten the PATH environment variable in windows which no longer allows VFP to find the lib. Other possibilities are that even though the user has the lib in the proper place and all looks right, maybe there is a permissions problem with the profile the app is running under so that the app cannot actually see or access that directory.
When all else fails play a little battle ship and perhaps a solution, and thereby the cause, will present itself. Get on the phone with the user and have them copy that lib all over the place until VFP can see it (into the app root folder, into the system32 dir, the windows dir, the shared vfp common directory, etc.).
Not a solution I'm afraid, but perhaps some out of the box thinking and ideas that may lead you to the solution. Good luck.