-
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
-
第43章 进程通信.rar
第43章 进程通信.rar-Chapter 43 process communication. Rar
- 2023-04-13 22:40:03下载
- 积分:1
-
delphi屏蔽win键和任务管理器。初学Delphi,练习一下。用的是Dll和修改windows的键值...
delphi屏蔽win键和任务管理器。初学Delphi,练习一下。用的是Dll和修改windows的键值-delphi shielding win keys, and task management device. Beginners Delphi, practice. Dll use the windows and change the keys
- 2023-02-09 19:30:04下载
- 积分:1
-
进程和调度(内核
进程和调度(kernel-) - 非常好的一篇有关连接和加载的文章, 取之与网, 用之与网, 与你分享!-process and Scheduling (kernel-)- a very good connections and the loading of the article, but it must and network and the network is used, to share with you!
- 2023-07-19 07:00:09下载
- 积分:1
-
进程调度算法
进程调度算法--动态优先权抢占式和时间片轮转算法的调度。-process scheduling algorithm-- Dynamic Preemptive priority and time-scheduling algorithm postings.
- 2022-02-16 09:49:48下载
- 积分:1
-
process of the operating system scheduler
操作系统进程调度程序-process of the operating system scheduler
- 2023-05-18 19:35:04下载
- 积分:1
-
windows线程同步
windows线程同步-windows line regulation synchronization
- 2022-06-14 08:39:38下载
- 积分:1
-
软件简介:多线程局域网扫描组件,参考了几位虾米的代码,然后进行多线程封装.速度还可以,能在三妙内扫描完毕 0.0 至 0.255 IP段....
软件简介:多线程局域网扫描组件,参考了几位虾米的代码,然后进行多线程封装.速度还可以,能在三妙内扫描完毕 0.0 至 0.255 IP段.-software description : multithreading LAN scanning components, several shrimp reference to the code, then multithreading package. Speed can also capable of scanning within three Miao finished 0.0-0.255 of IP.
- 2022-05-17 23:26:31下载
- 积分:1
-
显示和杀死系统当前进程_VC
显示和杀死系统当前进程_VC-Display and to kill the current process system _VC
- 2023-05-19 04:05:03下载
- 积分:1
-
win32线程池代码, 可用于win98/nt/200
win32线程池代码, 可用于win98/nt/200 -win32 code can be used win98/nt/200
- 2023-04-23 12:15:02下载
- 积分:1