Windows 7服务 [英] Windows 7 Services

查看:98
本文介绍了Windows 7服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候,
我有一个应用程序(.exe),可以处理Intranet中的数据包.我要达到的目的是,尽管没有用户登录,但应用程序仍在侦听来自服务器的数据包,换句话说,它在后台运行,但是当用户使用其用户名和密码登录时,此服务成为与桌面交互的前台.

如果有人知道如何执行此操作,我将不胜感激.

Greetings,
I have an application (.exe) that works off packets in an intranet. What I''m trying to achieve is that while no user has logged on, the application remains listening for packets from the server, in another words, work in the background, but when a user logs on using his username and password, this service comes to the foreground to interact with the desktop.

If anyone knows how to do this, I would really appreciate it.

推荐答案

您好,

您是否在寻找有关Windows服务的信息? (不确定C ++中的主题,我想如果您可以访问框架,则可以执行相同操作.)

我会为此看(这是我发现的第一篇文章,为您提供想法 [ ^ ])

即使用户未连接/登录到计算机,服务仍保持打开"状态.

以防万一,如果我回答完全错误和/或我不明白您的问题,我们深表歉意.

干杯.

< edit>翻译
Hello,

Did you look for information on services for Windows? (Not sure about the subject in C++, I suppose if you have access to the framework you can do the same).

I would look on this end (this is the first article I found, just to give you the idea[^])

Services remain "on" even if the user is not connected/logged-on to the computer.

And just in case, if I''m answering completely wrong and/or I didn''t understand your question, apologies.

Cheers.

<edit>translation


即使没有用户登录,您对.exe侦听也是正确的,但是如果用户登录,则应用程序必须向用户显示某些内容,但是由于.exe在后台运行,所以我无法使其与桌面进行交互.
You are correct about the .exe listening even though no user has logged-on, but if a user logs-on the application must show certain things to the user, but since the .exe is running in the background, I can''t get it to interact with the desktop.


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

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