不与桌面交互的Win Service [英] Win Service that doesnt interact with desktop

查看:99
本文介绍了不与桌面交互的Win Service的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我已经创建了一项服务,并将其安装在win2007平台上.我选中了允许与桌面交互"复选框.但是仍然''似乎我的服务在后台运行(该服务应该运行其他应用程序,应该可以看到,但我只能在任务管理器的进程列表中看到它).

有人知道为什么吗?或者,如何使我的应用程序在前端运行?

谢谢!

Hello,

I''ve created a service and installed it on my win2007 platform. I checked the "Allow to interact with desktop" checkbox. But still'' it seems that my service runs in background (the service suposed to run some other application, which is supposed to be seen, but I only see it in the list of processes in the task manager).

Anyone have an idea why? Or, how can I make my application to run in the front?

Thanks!

推荐答案

这是Windows Service的想法,它在后台运行,而无需与登录用户进行交互.

看到类似这样的问题:

在Windows Service中显示表单 [如何通过Window Service运行Window Application? /a> [ ^ ]
That is the idea with a Windows Service, it runs in the background with no interaction with logged in user.

See questions like this:

Show form in Windows Service[^]

How to run Window Application through Window Service?[^]


这篇关于不与桌面交互的Win Service的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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