登录
首页 » Windows开发 » windows服务管理类

windows服务管理类

于 2023-08-19 发布 文件大小:2.00 kB
0 59
下载积分: 2 下载次数: 1

代码说明:

压缩包包含两个文件ServiceManager.h、ServiceManager.cpp可以直接使用 CServiceManager提供接口如下: BOOL  IsActive();       // 查下服务是否开启 BOOL  StopService(SC_HANDLE hService);   // 关闭服务 BOOL  StartService();  // 开启服务 BOOL  ReStartService();  // 重启服务 BOOL  GetDependentServices(SC_HANDLE hscService, std::vector& vecServiceStatus); // 获取服务依赖服务

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • 气球式提示栏的实现例子
    气球式提示栏的实现例子-balloon-type column suggested the realization example
    2022-07-26 11:17:50下载
    积分:1
  • 求除法循环节程序,输入除数和被除数,就可以算出精确的小数结果和循环节...
    求除法循环节程序,输入除数和被除数,就可以算出精确的小数结果和循环节-Calc repeatend value, input divisor and dividend, output exactly decimal and repeatend.
    2023-03-25 09:10:04下载
    积分:1
  • 参考文章 遗传算法是基于达尔文进化论的一种智能优化算法,一种可用于复杂系统优化的具有鲁棒性的搜索算法,适用于解决传统方法难以解决的复杂的、非线性问题,可广泛...
    参考文章 遗传算法是基于达尔文进化论的一种智能优化算法,一种可用于复杂系统优化的具有鲁棒性的搜索算法,适用于解决传统方法难以解决的复杂的、非线性问题,可广泛应用于组合优化、离散优化、工程优化等领域。旅行商问题是一种NP难的组合优化问题,具有重要的理论研究价值和实际应用背景。然而,传统遗传算法中存在有不足,需要提出新的改进的遗传算法,并应用于旅行商问题的求解。-Genetic Algorithm article reference Darwin" s theory of evolution is based on an intelligent optimization algorithm, a complex system can be used to optimize the robustness of the search algorithm, the application of traditional methods to solve difficult and complex, nonlinear problems, can be widely applied in combinatorial optimization, discrete optimization, engineering, optimization and other fields. Traveling Salesman Problem is a NP hard combinatorial optimization problem, has important theoretical value and practical application of research background. However, the traditional genetic algorithm, there is less than the need to introduce new improved genetic algorithm, and applied for solving the traveling salesman problem.
    2023-06-10 12:55:03下载
    积分:1
  • 本程序通过一个导弹分行实验,描述了三维场景的展前景,体现了可视化的作用...
    本程序通过一个导弹分行实验,描述了三维场景的发展前景,体现了可视化的作用-This procedure branches through a missile test, describes the prospects for the development of three-dimensional scenes, reflects the role of visualization
    2022-05-19 04:26:15下载
    积分:1
  • 用C++实现的一个图书管理系统.有管理员身份和学生身份.每个身份的功能不一样....
    用C++实现的一个图书管理系统.有管理员身份和学生身份.每个身份的功能不一样.-Using C++ to achieve a library management system. There in his capacity as administrator and students. The identity of the functions of each different.
    2022-08-13 05:41:17下载
    积分:1
  • This programm computes the electric field in a cylinder made of conductor, the p...
    这个程序用来计算高为h,半径为a的圆柱形导体圆筒区域的电场分布,上底电位设置为常数U0。-This programm computes the electric field in a cylinder made of conductor, the potential of the upper face is set to be constant U0.
    2022-04-18 09:49:42下载
    积分:1
  • Caculater source code for delphi
    基本计算器源代码德尔福。基本计算器源代码德尔福。基本计算器源代码德尔福。基本计算器源代码德尔福。基本计算器源代码德尔福。基本计算器源代码德尔福。基本计算器源代码德尔福。基本计算器源代码德尔福。基本计算器源代码德尔福;计算器源代码;
    2022-12-22 18:05:03下载
    积分:1
  • C#写的磁卡读写程序
    C#开发支持HCE300磁卡读写器程序,可用于磁卡的加密读写。不支持多线程,适当修改后可支持。VS2010下开发,共享出来,供需要的人使用。
    2022-08-20 18:13:08下载
    积分:1
  • DRM服务器端软件,能对音视频文件进行加密,并设置使用权限,授权并控制用户的使用...
    DRM服务器端软件,能对音视频文件进行加密,并设置使用权限,授权并控制用户的使用-DRM server-side software, audio and video files can be encrypted, and set permissions, authorization and control the user" s use of
    2022-04-16 19:38:24下载
    积分:1
  • first part of the init () method to load the game all the necessary resources, i...
     ? 部分内容   首先我们在init()方法中加载所有游戏必要的资源,包括声音,鼠标事件的监听、背景等相关设置。利用addBomb()方法增加bomb的数量、初始位置及初始化颜色。再利用start()启动线程。线程调用run()方法,处理炸弹下降运动down()。Repaint()会在每一个单位时间调用paint()方法不断的刷新屏幕,paint()调用Bomb.addBomb()绘制炸弹。当游戏者按下鼠标,mousePress()事件激活,判断是否点中了炸弹。如果点中addScore()自动加1分。如果没有点中炸弹,炸弹继续下降,当撞到屏幕wasHitEarth()方法激活,其内调用death()方法,减少Denfenser.life生命点,同时audio.play()处理声音的播放,用以提示游戏者。当你的生命点数小于0时”Game Over”。-first part of the init () method to load the game all the necessary resources, including the voices of the mouse wiretapping, and other relevant background set. Use addBomb () method to increase the number of bomb, the initial location and initialization color. Reuse start () activated threads. Call threads run () method to deal with bomb dropped down Movement (). Hamas () in a unit time per call to paint () method is constantly refresh the screen, paint () call Bomb.addBomb () to draw bomb. When pressed mouse game, mousePress () activation of the incident to determine whether the point of the bomb. If the
    2022-05-20 07:56:26下载
    积分:1
  • 696518资源总数
  • 104530会员总数
  • 46今日下载