-
一个非常容易入门的多线程程序,实现步骤写在文件里,一步一步,就可以了解....
一个非常容易入门的多线程程序,实现步骤写在文件里,一步一步,就可以了解.-A very easy entry of multi-threaded process, the realization of the steps in the document, step by step, we can understand.
- 2022-05-06 21:35:37下载
- 积分:1
-
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
-
显示出系统中的所有进程和每个服务进程的完整路径的源代码...
显示出系统中的所有进程和每个服务进程的完整路径的源代码-Shows that the system of all the process and the process of each service the full path to the source code
- 2023-04-06 12:10:03下载
- 积分:1
-
Protects process from killing.
Protects process from killing.
- 2022-01-31 06:11:41下载
- 积分:1
-
线程优先级示例,很好的 我可是做了很一段时间那
线程优先级示例,很好的 我可是做了很一段时间那-thread priority example, a very good but I made a very time that
- 2022-02-18 16:58:13下载
- 积分:1
-
主要讲的是售票功能,在不同站点售同一组票,而不会发生错误。...
主要讲的是售票功能,在不同站点售同一组票,而不会发生错误。-Major topics of the ticketing functions in different sites selling the same set of votes without error.
- 2022-03-07 14:47:57下载
- 积分:1
-
网络聊天工具,多线程,按钮的润色,背景色的设定
网络聊天工具,多线程,按钮的润色,背景色的设定-Chat internet
- 2022-09-04 04:45:03下载
- 积分:1
-
简单线程池的实现方法,包含一个主控线程池类ThreadPool和一个工作线程WorkThread...
简单线程池的实现方法,包含一个主控线程池类ThreadPool和一个工作线程WorkThread-simple thread pool method, including a master class ThreadPool thread pool, and a work-threaded WorkThread
- 2022-04-22 16:30:47下载
- 积分:1
-
辞程序能进行文件的加密,运行时实现多线程。
辞程序能进行文件的加密,运行时实现多线程。-File encryption, multi-threaded run-time.
- 2022-05-05 01:40:41下载
- 积分:1
-
windows平台的串口接收程序,接收声音采集数据,采用多线程编程...
windows平台的串口接收程序,接收声音采集数据,采用多线程编程-serial windows platform to receive the procedure, receiving the voice data collection, using multi-threaded programming
- 2022-11-23 05:50:04下载
- 积分:1