运行C控制台程序无声(Windows) [英] running a C console program silent(windows)

查看:118
本文介绍了运行C控制台程序无声(Windows)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何身体都知道如何在Windows中静默运行C控制台程序并自动从STARTUP开始,并在关闭时退出:doh:

感谢提前!

解决方案

是的 - 它被称为Windows服务。


并非所有控制台应用程序都可以作为Windows服务运行。但是,您可以使用Windows计划任务运行此应用程序,并将计划设置为在系统启动时,而不是作为Windows服务运行。


您需要Windows服务。



Windows服务作为后台运行,自动启动并一直关闭。



:rose:

Dose any body know how to run a C console program silently in windows.and automatically starting in STARTUP,and exiting while shutting down :doh:
THANKS IN ADVANCE!

解决方案

Yeah - it''s called a windows service.


Not all the console applications can be run as windows service. But, instead of running as windows service, you can run this app using windows schedule task and set up the schedule as ''At System Startup''.


You need a Windows Service.

A Windows Service runs as background, starts automatically and remains until you shutdown.

:rose:


这篇关于运行C控制台程序无声(Windows)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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