>>I have an application compiled in VFP7.
>>If I launch from it another application compiled in VFP9 it works fine but
>>it is saw as it was compiled in 7. Is it possible to run this second app or exe (it's the same) in the version it was compiled ?
>>If so how ?
>
>A VFP APP uses runtimes version of calling application. A VFP EXE always runs with runtimes it was built with. Check Re: RUN command botching up SET PATH commands... Message #
1169622 for one of the ways to run VFP exe from inside other VFP program.
Tested:
VFP9 Executable calling a VFP 7 executable will use the VFP 9 DLLS.
VFP 9 exe -- VFP 7 exe
VFP 9 dll -- VFP 9 dll
But I think this is what you meant. I don't know about apps, but this is the way it works with our production Executable. We had to compile the VFP 7 executable into a VFP 9 executable to make the UI look correct.