VC ++致命错误LNK1168:无法打开filename.exe进行写入 [英] VC++ fatal error LNK1168: cannot open filename.exe for writing

查看:349
本文介绍了VC ++致命错误LNK1168:无法打开filename.exe进行写入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Visual Studio Express 2010 c ++突然停止了重建项目。

当我第一次按F7键时,项目会构建并运行良好(哎呀,这是一个非常好的例子)。

然后进行一些更改,然后再次按F7,然后得到:

1> LINK:致命错误LNK1168:无法打开C:\Users\username\Documents\Visual Studio 2010 writingProjectsconsole\Debug\console.exe进行编写


现在有趣的事情来了:

suddenly my visual studio express 2010 c++ stopped rebuilding my project.
When I first hit F7 the project builds and runs fine (heck, it's a hello world example).
Then I make some changes and hit F7 again, then I get:
1>LINK : fatal error LNK1168: cannot open C:\Users\username\Documents\Visual Studio 2010\Projects\console\Debug\console.exe for writing

Now the funny thing comes:


  1. 该应用程序未运行,并且未在任务管理器中显示。

  2. 进入项目目录并尝试手动删除它会成功,但是文件再次出现在其他地方o_O

  3. 系统还原已禁用

  4. 我还试图获取整个该死驱动器的所有权

  5. 每次删除文件时,它都会再次重新创建自身,但有时它会停止执行

  6. 如果删除文件(然后在此之后重新创建),然后启动sysinternals proc

  7. 如果我之前启动procmon,则文件删除后总是像往常一样出现

  1. the app is not running and it's not shown in task manager.
  2. going into the project directory and trying to remove it with hands comes with success but the file APPEARS AGAIN FROM NOWHERE o_O
  3. the system restore is disabled
  4. i also tried to take the ownership of the whole damn drive
  5. each time I delete the file it recreates itself again but sometimes it stops doing that
  6. if delete the file (and it recreates after that) and then I start sysinternals procmon then the file will dissapear.
  7. if I start procmon before - then the file keeps appearing after delete like always

操作系统:W7 SP1 64位,具有最新更新

有什么想法吗?谷歌没有帮助我:(

OS: W7 SP1 64-bit, with latest updates
any ideas, please? google didn't help me :(

推荐答案

启用应用程序体验服务。启动控制台窗口,然后输入 net start AeLookupSvc

Enable "Application Experience" service. Launch a console window and type net start AeLookupSvc

  • http://support.microsoft.com/kb/902196

这篇关于VC ++致命错误LNK1168:无法打开filename.exe进行写入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆