Windows 10关机查杀我的进程 [英] Windows 10 shutdown killing my process

查看:90
本文介绍了Windows 10关机查杀我的进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我关闭Windows 10时,它不允许我的应用程序正常关闭。   Windows似乎只是在退出之前将其删除。  并不是我的应用程序关闭速度慢。


据我所知,此行为与Windows 7不同。


根据我在网络上发现的内容,我的理解是,默认情况下,操作系统应该等待几秒钟,或者直到所有应用程序都退出,然后再关闭。


我好像我必须在这里遗漏一些明显的东西。


非常感谢任何帮助。


解决方案

问题是,你没有说过关于你的应用程序的一些重要事情。


你的应用程序是控制台应用程序还是UI应用程序?是可见还是隐藏?


在某些情况下,应用程序才会被终止,但这些应用程序主要是没有可见窗口试图延迟关闭的应用程序。


When I shutdown windows 10, it is not allowing for my application to shutdown gracefully.  Windows seems to be just killing it before it exits.  It's not that my app is slow in shutting down either.

This behavior is different from Windows 7, as far as I can tell.

From what I have found on the web, it's my understanding that the OS should, by default, wait several seconds or until all applications have exited, before shutting down.

I seems like I have to be missing something obvious here.

Any help is very much appreciated.

解决方案

The problem is, you haven't said some important things about your application.

Is your application a console application or a UI application? is it visible or hidden?

There are some situations when an application will just be terminated, but these are mostly applications with no visible window trying to delay shutdown.


这篇关于Windows 10关机查杀我的进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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