Windows 7服务 [英] Windows 7 service

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

问题描述

我应该知道写Windows 7服务吗?
我已经使用过有关Windows服务的文章.
我已经取消了Windows服务.
它可以在Windows XP中运行,但不能在Windows 7中运行.
有人可以写有关使用C ++编写Windows 7服务的文章吗?

What should i know to write Windows 7 service?
I have used article about Windows service.
I creaded service for Windows.
It works in Windows XP, but does not work in Windows 7.
Can someone write write article about writeing Windows 7 services in C++?

推荐答案

谢尔盖(Sergey),

Win7 SDK [
Hi Sergey,

There is a C service sample in the Win7 SDK[^] at C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\winbase\service.

cheers,
AR


哇-如果有一个问题可以回答谷歌是你的朋友",就是这样.

为Win7编写Windows服务与为增加用户限制而编写任何其他Windows服务execpt没什么不同.因此,请牢记这一点来编写您的服务.
Wow - if there was ever a question that should answered "google is your friend", this is it.

Writing a Windows service for Win7 is no different than writing any other windows service execpt for the increased user restrictions. So, write your service with that in mind.


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

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