VC++ 致命错误 LNK1168:无法打开 filename.exe 进行写入
突然,我的 Visual Studio Express 2010 C++ 停止重建我的项目.当我第一次点击 F7 时,项目构建并运行良好(哎呀,这是一个 hello world 示例).
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).
然后我进行了一些更改并再次点击 F7,然后我得到:
Then I make some changes and hit F7 again, then I get:
1>LINK : fatal error LNK1168: cannot open C:UsersusernameDocumentsVisual Studio 2010ProjectsconsoleDebugconsole.exe for writing**<br><br>
现在有趣的事情来了:
- 该应用未运行且未显示在任务管理器中.
- 进入项目目录并尝试用手将其删除会成功,但文件又从无处出现.
- 系统还原已禁用.
- 我还试图获得整个该死的驱动器的所有权.
- 每次我删除文件时,它都会重新创建自己,但有时它会停止这样做.
- 如果我删除该文件(并在此之后重新创建),然后我启动 sysinternals procmon,那么该文件就会消失.
- 如果我之前启动 procmon - 那么文件会像往常一样在删除后继续出现.
操作系统:W7 SP1 64 位,有最新更新
OS: W7 SP1 64-bit, with latest updates
有什么想法吗?
推荐答案
启用应用体验"服务.启动控制台窗口并输入 net start AeLookupSvc
Enable "Application Experience" service. Launch a console window and type net start AeLookupSvc
- http://support.microsoft.com/kb/902196
相关文章