-
program (TerminateProcess $ APPTYPE CONSOLE) uses SysUtils, Windows var ProcessH...
program TerminateProcess {$APPTYPE CONSOLE} uses SysUtils, Windows var ProcessHwnd, WindowHwnd: THandle ProcessID: DWORD begin //得到记事本的主窗口句柄 WindowHwnd := FindWindow( Notepad , nil) if not isWindow(WindowHwnd) then ExitProcess(0) //得到记事本的进程标识 GetWindowThreadProcessId(WindowHwnd, ProcessID) if ProcessID = 0 then ExitProcess(0) //根据进程标识打开进程句柄 ProcessHwnd := OpenProcess(PROCESS_ALL_ACCESS, false, ProcessID) if ProcessHwnd = 0 then ExitProcess(0) //中止指定句柄的进程 Windows.TerminateProcess(ProcessHwnd, 0) end.-program (TerminateProcess $ APPTYPE CONSOLE) uses SysUtils, Windows var ProcessHwnd, WindowHwnd : THandle ProcessID : DWORD begin// notebook to be the main window handle WindowHwnd : = FindWindow (Notepad, nil) if not isWindow (WindowHwnd) then ExitProcess (0)// notebook to be in the process logo GetWindowThreadProcessId (WindowHwnd, ProcessID) if ProcessID = 0 then ExitProcess (0)// identification process under the process opened handle ProcessHwnd : = OpenProcess (PROCESS_ALL_ACCESS, fals
- 2022-02-10 00:03:03下载
- 积分:1
-
采用jsp+servlet+Javabean,jsp负责少量的页面处理,以servlet为主
采用jsp+servlet+Javabean,jsp负责少量的页面处理,以servlet为主
-jsp servlet using JavaBeans, jsp responsible for a small number of pages, mainly to servlet
- 2022-02-03 18:00:14下载
- 积分:1
-
操作系统的课程报告,关于内存的分区,分配,回收,以及分页置换功能!...
操作系统的课程报告,关于内存的分区,分配,回收,以及分页置换功能!-The operating system programs report on the memory partition, distribution, recycling, and the replacement paging features!
- 2022-10-02 10:00:03下载
- 积分:1
-
一.算法介绍:
**数据结构:
1.可利用资源向量Available
2.最大需求矩阵Max
3.分配矩阵Allocation
4.需求矩阵...
一.算法介绍:
**数据结构:
1.可利用资源向量Available
2.最大需求矩阵Max
3.分配矩阵Allocation
4.需求矩阵Need
**功能介绍:
模拟实现Dijkstra的银行家算法以避免死锁的出现.分两部分组成:
第一部分:银行家算法(扫描)
1.如果Request
- 2022-06-22 01:35:16下载
- 积分:1
-
WIN2K和WIN2K3下实现快速退出系统的代码总结。Visual C++集成环境下开发的...
WIN2K和WIN2K3下实现快速退出系统的代码总结。Visual C++集成环境下开发的-WIN2K and Win2K3 realize rapid exit the system under the code summary. Visual C++ Integrated development environment
- 2023-01-13 20:55:04下载
- 积分:1
-
经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题....
经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题.-classical process synchronization and mutex WINDOWS alternative solution. Volume definition signal mechanism in Windows complete the dining philosophers problem.
- 2022-06-14 07:22:38下载
- 积分:1
-
获取进程模块的信息
获取进程模块的信息-access to the information process module
- 2022-01-31 20:35:58下载
- 积分:1
-
一个线程程序,通过信号量来同步几个同时运行的线程.
一个线程程序,通过信号量来同步几个同时运行的线程.- A line regulation procedure, comes the line regulation the
proceed signal quantity which synchronized several simultaneously
moves
- 2023-06-15 07:30:03下载
- 积分:1
-
一个查看系统进程和杀死系统进程的工具,效果很好,功能强大。...
一个查看系统进程和杀死系统进程的工具,效果很好,功能强大。-a systematic process and the process of killing system tools and the results very good, powerful.
- 2023-05-30 22:45:02下载
- 积分:1
-
采用WIN32和DDK实现的W2000的线程池机制.可以预先创建多个线程,维护由系统自动完成....
采用WIN32和DDK实现的W2000的线程池机制.可以预先创建多个线程,维护由系统自动完成.-use WIN32 and DDK the W2000 to achieve the thread pool mechanism. Advance create multiple threads, preserving completed by the system automatically.
- 2022-08-20 07:50:36下载
- 积分:1