致命错误:无法创建输出文件“project1.exe" [英] Fatal Error: Cannot create output file "project1.exe"
问题描述
所以一段时间以来,我一直遇到这个问题:
So for some time now I keep having this problem:
在 Windows 7(64 位)上,使用 Delphi 7 和 Delphi XE2,如果从 IDE 中编译程序,运行它,停止它,更改它并重新运行它,我收到此错误消息:
on windows 7 (64bit), with Delphi 7 and Delphi XE2, if from within the IDE, I compile a program, run it, stop it, change it and rerun it I get this error message:
[致命错误] 无法创建输出文件project1.exe"
[Fatal Error] Cannot create output file "project1.exe"
我不知道是什么导致了这种情况.我在谷歌上搜索了更多信息,但找不到解决方案.
I have no clue to what causes this. I googled for more information, but I could not find a solution.
有两种解决方法:等待一两分钟,或者手动删除 project1.exe.不用说,这是行不通的.
There are two workarounds: either wait a minute or two, or delete project1.exe manually. Needless to say, this is unworkable.
我没有病毒扫描程序,也没有病毒.拥有对相关文件夹的完全访问权限.以管理员身份运行一切.
I do not have a virus scanner, and no virus. Have full access to related folders. Run everything as Administrator.
那么是什么原因造成的呢?我该怎么做才能解决这个问题?
So what causes this? And what can I do to fix it?
推荐答案
我找到了解决方案.似乎禁用应用程序体验"服务导致了这种情况.禁用后,任务系统"将锁定任何"可执行文件一段时间.
I found the solution. It appears that disabling the service "Application Experience" caused this. When disabled the task "system" will lock "any" executable for some time.
重新启用应用程序体验"是解决方案.
Re-enabling "Application Experience" is the solution.
通过以下方式找到:
这篇关于致命错误:无法创建输出文件“project1.exe"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!