Willi Fuchs 0 Posted Wednesday at 02:04 PM I am using the IDE of Delphi 10.1 under Windows 10. After several tests with a program under development which seemed to work quite well, I suddenly got an error message F2039 which says: Could not create output file. There are no other error messages from the compiler, except some irrelevant hints (such as: variable....never used). The problem is, the program was started and running correctly a short time before, and since then I did not change anything in the code. I have no idea where to look for a solution. Share this post Link to post
Lars Fosdal 1357 Posted Wednesday at 02:44 PM Have you checked if an instance of the output app is still running? Does the problem persist if you restart the IDE? Share this post Link to post
Willi Fuchs 0 Posted Wednesday at 06:47 PM I checked, and there is no other instance running. And the problem persist when I restart the IDE Share this post Link to post
Lars Fosdal 1357 Posted yesterday at 07:12 AM Have you excluded the output folder from AntiVirus software? Also, have a look at https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer which can reveal what process that is holding the file. Share this post Link to post
Jirka52 1 Posted yesterday at 10:51 AM It happens also with Delphi 11.2 Alezandria. It is antivirus Share this post Link to post