登录
首页 » Windows开发 » Windows 服务被设计用于需要在后台运行的应用程序以及实现没有用户交互的任务。为了学习这种控制台应用程序的基础知识,C(不是C++)是最佳选择。本文将建立并...

Windows 服务被设计用于需要在后台运行的应用程序以及实现没有用户交互的任务。为了学习这种控制台应用程序的基础知识,C(不是C++)是最佳选择。本文将建立并...

于 2022-09-21 发布 文件大小:30.07 kB
0 153
下载积分: 2 下载次数: 1

代码说明:

Windows 服务被设计用于需要在后台运行的应用程序以及实现没有用户交互的任务。为了学习这种控制台应用程序的基础知识,C(不是C++)是最佳选择。本文将建立并实现一个简单的服务程序,其功能是查询系统中可用物理内存数量,然后将结果写入一个文本文件。最后,你可以用所学知识编写自己的 Windows 服务。-Windows service is commonly used by program which running without intactive with users. To learn how to develop it, C is the best choice. This article will give you an example about how to develop a basic service program which can query the physical memory and write the results to a text file. You can develop your own service program after this pratice.

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

发表评论

0 个回复

  • a classical painting C# algorithm, the codes is easy to understand, it s content...
    用c#的经典画图算法,代码容易理解,内容丰富,是初学者的好帮手-a classical painting C# algorithm, the codes is easy to understand, it s content is very rich, it is a good assistant for beginner.
    2023-04-06 00:50:03下载
    积分:1
  • facedetector
    人脸检测器 #include < iostream > #include < cv.h > #include < highgui.h > int main(void) { int 键 = 0 ; int i; CvMemStorage * 存储 = cvCreateMemStorage (0) ; CvCapture * 捕获 = cvCaptureFromCAM (0) ; char * 文件名 ="haarcascade_frontalface_alt.xml"; CvHaarClassifierCascade * 梯级 = (CvHaarClassifierCascade *) cvLoad (文件名, 0,0,0) ; 虽然 (关键! = "q") { IplImage * 帧 = cvQueryFrame (捕获) ; 如果 (! 帧) 断 ; CvSeq * 脸 = cvHaarDetectObjects ( 帧, 级联, 存储, 1.1、 3, 0 / * CV_HAAR_DO_CANNY_PRUNNING *, cvSize (40,40)) ; 为 (我 = 0 ; 我 < (脸? 面孔-> 共: 0) ; i + +) { CvRect * wajah = (CvRect *) cvGetSeqElem (的脸,我) ; CvFont 字体 ; cvInitFont (& 字体,CV_FONT_HERSHEY_SIMPLEX,1.0,1.0,1,5,CV_AA) ; CvRect * r=(CvRect*) cvGetSeqElem(faces, i) ; cvPutTex
    2022-01-30 19:16:21下载
    积分:1
  • 支持MPEG4编解码的播放器(要求显卡支持YUV的硬件支持),可播放IM4的文件。...
    支持MPEG4编解码的播放器(要求显卡支持YUV的硬件支持),可播放IM4的文件。-support MPEG4 codec player (requiring support YUV graphics hardware support) IM4 can play in the paper.
    2022-11-14 18:10:03下载
    积分:1
  • 客户信息维护 客户服务 数据管理 系统管理 基础数据管理 信息查询...
    客户信息维护 客户服务 数据管理 系统管理 基础数据管理 信息查询-Customer Service information to maintain customer data management system for the management of basic data management information
    2023-08-15 03:15:05下载
    积分:1
  • 把快捷方式的文件的路径,使用IShellLink。
    怎样获取快捷方式所指向的目标文件名? HRESULT hres IShellLink* psl HRESULT hres IShellLink* psl char szGotPath[MAX_PATH] char szDescription[MAX_PATH] WIN32_FIND_DATA wfd OleInitialize(0) hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, (LPVOID*)&psl) if (SUCCEEDED(hres)) { IPersistFile* ppf hres = psl->QueryInterface(IID_IPersistFile, (void**)&ppf) if (SUCCEEDED(hres)) { WCHAR wsz[MAX_PATH] char lpszLinkFile[MAX_PATH] //这里存放的是快捷方式的路径 if(MultiByteToWideChar(CP_ACP, 0, lpszLinkFile, -1, wsz, MAX_PATH)==0) return hres = ppf->Load(wsz, STGM_READ) if (SUCCEEDED(hres)) { hres = psl->Resolve(m_hWnd, 0) if (SUCCEEDED(hres)) { hres = psl->GetPath(szGotPath, MAX_PATH, (WIN32_FIND_DATA*)&wfd, SLGP_SHORTPATH)-Get the path file of the Shortcut, using IShellLink.
    2023-07-15 01:10:03下载
    积分:1
  • matlab implimation som networks
    matlab implimation som networks
    2022-03-20 16:25:55下载
    积分:1
  • Visual C++ MFC Class Card Games book s source code, including flight chess, mahj...
    Visual C++ MFC棋牌类游戏 书籍的源代码包括飞行棋,麻将等-Visual C++ MFC Class Card Games book s source code, including flight chess, mahjong,
    2022-07-09 10:30:47下载
    积分:1
  • 性小闹钟的源代码,和一个很好的序列。
    多变小闹钟源代码,一个很好的和序。-volatile small alarm clock source code, and a very good sequence.
    2022-07-23 01:48:05下载
    积分:1
  • 此程序是用排序实现换位递规的的版本, 对程序的操作有一定的帮助作用...
    此程序是用排序实现换位递规的的版本, 对程序的操作有一定的帮助作用-This program realizes the conversion recursion by sorting, making some use to operation of program.
    2022-03-29 10:12:21下载
    积分:1
  • C #记事本的源代码
    应用背景C #记事本的源代码 ; ; ; ;private void打开otoolstripmenuitem_click(object sender,EventArgs e)与之和;与之;和,铌关键技术C #记事本的源代码使用系统;使用system.collections.generic;使用system.componentmodel;使用系统数据;使用系统;使用LINQ系统;利用系统
    2022-01-25 22:53:20下载
    积分:1
  • 696518资源总数
  • 106259会员总数
  • 28今日下载