0
votes

I installed Delphi XE3 on my computer, I create a new VCL Form Application and I tried to run it, just for test, and I had a F2039 saying that cannot create the file. The folder is not read-only, I did not installed any component or anything, I just have one other Delphi IDE on my machine (BDS 2006) and on it runs okay.

Could anyone help me?

1
Is an instance of the program already running and you're trying to start it again? That'd give the message that it can't write to the exe file.Joachim Isaksson
No. I'm running just one instance. I tried closing by the task manager or restart the system but the problem persists. Thanks!user3633580
Maybe the IDE is trying to write to a folder you have no write access to. Can you check the program settings for its output path. Is there an EXE there?Jan Doggen
Yes, I Do have write acess to the folder and there's a EXE file, but with 0KB Thanks!user3633580
Chances are what file is open already. Examine with Sysinternals' handle utility.Free Consulting

1 Answers

1
votes

My guess, confirmed by your comment, is that your anti-virus software is blocking Delphi from writing the executable file. It is of course possible that your Delphi is infected, but more likely this is just a false positive.

If this is a false positive, and if the anti-virus software will not relent, you may need to find a different anti-virus software.