Windows窗体将被挂起,直到explorer.exe终止 [英] Windows Form is suspended until explorer.exe is terminated
问题描述
大家好,
我有以下内容:
1.在启动时,我有一个简单的窗口服务,该服务将检查"Test.exe"是否正在运行,如果没有运行,它将使用"Process.Start()"启动进程.
2.相同的服务在2台PC上运行.
问题:
首先,两个窗口服务都可以毫无问题地运行"Test.exe".有时(在没有适当关闭PC的情况下)之后,PC的窗口服务之一无法完全启动"Test.exe".它已启动,但以某种方式看起来好像已被挂起(窗口窗体未完全显示).而另一台PC没问题.
我从任务管理器中终止"explorer.exe"后,"Test.exe"可以恢复该过程.随后,当我重新启动窗口服务时,我不再遇到相同的问题(仅在启动时发生).
有人遇到过同样的问题吗?
有什么建议吗?
问候
Henri
Hi Guys,
I have the following:
1. On start up I had a simple window service that will check if "Test.exe" is running, if it is not it will start the process with "Process.Start()".
2. The same service runs on 2 PC.
The problem:
At first, both of the window service can run "Test.exe" without any problem. After quite sometimes (without proper PC shutdown), one of the PC''s window service can''t start "Test.exe" completely. It is started but somehow it looks like it is being suspended (Window form is not displayed completely). While the other PC has no problem.
"Test.exe" can resume the process once I terminated "explorer.exe" from the Task Manager. And subsequently, when I restart the window service, I don''t have the same problem again (only happen on start up).
Anybody have the same problem before?
Any advice?
Regards
Henri
推荐答案
听起来像是test.exe的问题,或者是病毒扫描程序或Windows自行安装的问题.
Sounds like an issue with test.exe, or perhaps with a virus scanner or the windows install itself.
这篇关于Windows窗体将被挂起,直到explorer.exe终止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!