exe
Retrieving VFP runtime DLL name required by EXE or DLL
VFP stores in an EXE/DLL information about what runtime DLL is required to run it.
| This is sample code. Add error handling and adjust to your requirements as necessary. |
? VfpVersionFromExeOrDll("C:\Program Files\My Company\MyVfpApplication.exe") ? VfpVersionFromExeOrDll("X:\Somefolder\MyVfpDll.dll")
How to pass parameters to VFP EXE
Passing command-line parameters from Windows to VFP created EXE is different from passing parameters to VFP programs or functions in VFP application:
- All parameters are passed to EXE as strings
- Parameters should not be enclosed in single quotes because quotes will be treated as part of parameter
- Parameters with spaces can be enclosed in double quotes
- Parameters are separated by spaces not commas
Recent comments
1 week 2 days ago
1 week 2 days ago
1 week 3 days ago
1 week 5 days ago
1 week 5 days ago
2 weeks 2 days ago
3 weeks 2 days ago
3 weeks 3 days ago
3 weeks 4 days ago
4 weeks 1 day ago