-
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
-
这个程序是用SDK写的,很有意义,只不过一般人看不懂,现在没几能用SDK了...
这个程序是用SDK写的,很有意义,只不过一般人看不懂,现在没几能用SDK了-the procedure is written with the SDK, interesting, but most people do not understand, right now the SDK can be used for
- 2022-03-09 21:39:09下载
- 积分:1
-
windows task manager for win2k/xp
windows任务管理器for win2k/xp-windows task manager for win2k/xp
- 2022-03-20 23:48:59下载
- 积分:1
-
Pubwin客户端伪装程序,与Pubwin界面相同。
Pubwin 客户端伪装程序 ,与Pubwin界面完全相同.-Pubwin client camouflage procedures, and Pubwin interface identical.
- 2023-02-06 02:30:03下载
- 积分:1
-
鼠标输入编程演示程序
鼠标输入编程演示程序-mouse input programming Demonstration Program
- 2022-02-13 14:15:47下载
- 积分:1
-
C程序实现系统存储管理分区分配的算法。运行环境:windows.
C程序实现系统存储管理分区分配的算法。运行环境:windows.
-C program distribution system, storage management partition algorithms. Operating Environment: windows.
- 2022-12-14 16:55:03下载
- 积分:1
-
这是一个模拟操作系统中进程控制的程序,用时间片轮转算法实现,附带试验报告...
这是一个模拟操作系统中进程控制的程序,用时间片轮转算法实现,附带试验报告-This is a simulated operating system process control procedures, time-flow algorithm, fringe Test Report
- 2023-01-24 17:10:03下载
- 积分:1
-
Multi
多线程保护区的上锁与解锁,本地线程上锁保护的一个类.-Multi-threaded protected areas locked and unlocked, the local thread lock to protect a class.
- 2023-08-03 23:10:05下载
- 积分:1
-
Preemptive process
非抢占式进程调度算法模拟C实现,-Preemptive process-scheduling algorithm simulation C realized,
- 2023-03-05 05:00:04下载
- 积分:1
-
MODBUS通信程序.可用于学习施耐得PLC通信、现在国产好多RTU都用MODBUS协议...
MODBUS通信程序.可用于学习施耐得PLC通信、现在国产好多RTU都用MODBUS协议-MODBUS communications procedures. Learning can be used Shi able to endure PLC communications, now many domestic MODBUS RTU using agreement
- 2022-03-17 11:17:56下载
- 积分:1