InstantFPC 1.3 doesn't work (Windows version only)
Original Reporter info from Mantis: ChrisF
-
Reporter name:
Original Reporter info from Mantis: ChrisF
- Reporter name:
Description:
Impossible to run a Pascal program with InstantFPC 1.3 (which is coming with FPC 2.6.4) in Windows.
There are 2 main issues due to the 1.3 version:
-the .exe extension is not fully used in the code, which gives 2 errors: neither the deletion of the .exe file in the cache directory is done, nor the copy (i.e. "rename") of the .exe file from the __tmpxxxx directory to the cache directory (the last one being the "current visible" bug observed when running InstantFPC 1.3 in Windows),
-the __tmpxxxx directory is not deleted (FindClose is missing).
Attached, a patch for the FPC trunk version which is fixing these 2 issues.
Mantis conversion info:
- Mantis ID: 26635
- Platform: Windows
- Version: 2.6.4
- Fixed in version: 3.0.0
- Fixed in revision: 28523 (#97be6810)