WindowsService_RunInSystem

所属分类:Windows编程
开发工具:Visual C++
文件大小:52KB
下载次数:2
上传日期:2017-02-16 09:50:31
上 传 者www2018
说明:  WindowsService以SYSTEME权限启动应用程序源码
(WindowsService starts the application source with SYSTEME authority)

文件列表:
WindowsService\InstallService\InstallService.aps (58912, 2011-08-04)
WindowsService\InstallService\InstallService.cpp (1751, 2011-07-30)
WindowsService\InstallService\InstallService.h (489, 2011-07-30)
WindowsService\InstallService\InstallService.rc (5425, 2011-08-04)
WindowsService\InstallService\InstallService.vcproj (5579, 2011-08-04)
WindowsService\InstallService\InstallService.vcproj.3nod-PC.3nod.user (1411, 2011-08-05)
WindowsService\InstallService\InstallServiceDlg.cpp (6854, 2011-08-04)
WindowsService\InstallService\InstallServiceDlg.h (718, 2011-08-04)
WindowsService\InstallService\res\InstallService.ico (21630, 2003-07-24)
WindowsService\InstallService\res\InstallService.rc2 (370, 2011-07-30)
WindowsService\InstallService\resource.h (778, 2011-08-04)
WindowsService\InstallService\stdafx.cpp (145, 2011-07-30)
WindowsService\InstallService\stdafx.h (1796, 2011-07-30)
WindowsService\InstallService\targetver.h (1030, 2011-07-30)
WindowsService\WindowsService\stdafx.cpp (219, 2011-07-27)
WindowsService\WindowsService\stdafx.h (233, 2011-07-27)
WindowsService\WindowsService\targetver.h (498, 2011-07-27)
WindowsService\WindowsService\WindowsService.cpp (7676, 2011-08-05)
WindowsService\WindowsService\WindowsService.vcproj (4519, 2011-08-04)
WindowsService\WindowsService\WindowsService.vcproj.3nod-PC.3nod.user (1411, 2011-08-05)
WindowsService\WindowsService.sln (1388, 2011-07-30)
WindowsService\WindowsService.suo (24576, 2011-08-05)
WindowsService\InstallService\res (0, 2011-08-04)
WindowsService\InstallService (0, 2011-08-05)
WindowsService\WindowsService (0, 2011-08-05)
WindowsService (0, 2011-08-05)

================================================================================ MICROSOFT 基础类库: InstallService 项目概述 =============================================================================== 应用程序向导已为您创建了这个 InstallService 应用程序。此应用程序不仅演示 Microsoft 基础类的基本使用方法,还可作为您编写应用程序的起点。 本文件概要介绍组成 InstallService 应用程序的每个文件的内容。 InstallService.vcproj 这是使用应用程序向导生成的 VC++ 项目的主项目文件。 它包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 InstallService.h 这是应用程序的主要头文件。它包括其他项目特定的头文件(包括 Resource.h),并声明 CInstallServiceApp 应用程序类。 InstallService.cpp 这是包含应用程序类 CInstallServiceApp 的主要应用程序源文件。 InstallService.rc 这是程序使用的所有 Microsoft Windows 资源的列表。它包括 RES 子目录中存储的图标、位图和光标。此文件可以直接在 Microsoft Visual C++ 中进行编辑。项目资源位于 2052 中。 res\InstallService.ico 这是用作应用程序图标的图标文件。此图标包括在主要资源文件 InstallService.rc 中。 res\InstallService.rc2 此文件包含不在 Microsoft Visual C++ 中进行编辑的资源。您应该将不可由资源编辑器编辑的所有资源放在此文件中。 ///////////////////////////////////////////////////////////////////////////// 应用程序向导创建一个对话框类: InstallServiceDlg.h,InstallServiceDlg.cpp - 对话框 这些文件包含 CInstallServiceDlg 类。该类定义应用程序主对话框的行为。该对话框的模板位于 InstallService.rc 中,该文件可以在 Microsoft Visual C++ 中进行编辑。 ///////////////////////////////////////////////////////////////////////////// 其他功能: ActiveX 控件 应用程序包括对使用 ActiveX 控件的支持。 ///////////////////////////////////////////////////////////////////////////// 其他标准文件: StdAfx.h,StdAfx.cpp 这些文件用于生成名为 InstallService.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。 Resource.h 这是标准头文件,它定义新的资源 ID。 Microsoft Visual C++ 读取并更新此文件。 InstallService.manifest 应用程序清单文件供 Windows XP 用来描述应用程序 对特定版本并行程序集的依赖性。加载程序使用此 信息从程序集缓存加载适当的程序集或 从应用程序加载私有信息。应用程序清单可能为了重新分发而作为 与应用程序可执行文件安装在相同文件夹中的外部 .manifest 文件包括, 也可能以资源的形式包括在该可执行文件中。 ///////////////////////////////////////////////////////////////////////////// 其他注释: 应用程序向导使用“TODO:”指示应添加或自定义的源代码部分。 如果应用程序在共享的 DLL 中使用 MFC,则需要重新发布这些 MFC DLL;如果应用程序所用的语言与操作系统的当前区域设置不同,则还需要重新发布对应的本地化资源 MFC90XXX.DLL。有关这两个主题的更多信息,请参见 MSDN 文档中有关 Redistributing Visual C++ applications (重新发布 Visual C++ 应用程序)的章节。 /////////////////////////////////////////////////////////////////////////////

近期下载者

相关文件


收藏者