简体   繁体   English

为什么我不能运行带有特定文件名的exe?

[英]Why can't I run an exe with a specific filename?

I have recently encountered a problem on my Windows 7 machine where I can't run an application with a specific name. 我最近在Windows 7计算机上遇到了一个问题,该问题无法运行具有特定名称的应用程序。 Let's call it a.exe. 我们称它为a.exe。

It is a C++ Qt based app and has been working OK for months but when I tried to run it today I got "The application was unable to start correctly (0x80000003). Click OK to close the application.". 这是一个基于C ++ Qt的应用程序,已经可以正常工作几个月了,但是当我今天尝试运行它时,出现了“该应用程序无法正确启动(0x80000003)。单击确定以关闭该应用程序。”。 This happens for both 32-bit and 64-bit builds for Debug or Release. 对于调试或发行版的32位和64位版本,都会发生这种情况。

I spent hours going round in circles checking dependencies and rolling back to previous versions without getting anywhere. 我花了几个小时绕着圈子检查依赖关系,并回滚到以前的版本,却一无所获。 I tried the software on a different machine and it worked, so it must be something on my machine... 我在另一台机器上试用了该软件,并且该软件可以正常工作,因此它一定在我的机器上。

I finally discovered that if I rename it to something else (eg a1.exe) then it will work :-S 我终于发现,如果我将其重命名为其他名称(例如a1.exe),它将可以工作:-S

I've checked the VirtualStore folder but couldn't see anything. 我已经检查了VirtualStore文件夹,但是什么也看不到。 Any other ideas? 还有其他想法吗?

也许您的“已知文件扩展名”被隐藏了,而您实际上在尝试访问a.exe时,文件名是a.exe.exe?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM