Is it possible to retrieve the version of FoxPro used to create an executable? I know you can look for the support files used to do it manually but I am sure there must be a command or some code that will do it.
VERSION() will tell you which version you are running under (strictly speaking, the version of the runtime files). That's not quite the same as the version that was used to build the executable.
That said, the two would normally be expected to match. If you built an executable under VFP 9.0, you'd expect to run it under VFP 9.0 runtimes.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Perhaps the OP problem is to find out which runtime version (and service pack level) is needed. Somehwere within the first few KB VisualFoxproRuntime.N is included in a VFP built EXE, but N is only the main version number.
From my experience I had a problem as I deployed a VFP9SP1 compiled version to clients, which only had the VFP9SP0 runtime installed, assuming the client company already had rolled out the SP1 Runtime installation. It lead to start errors. But I think that SP level dependancy is not always checked and can lead to problems, when VFP accepts and uses the wrong SP level runtime.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.