-
一个使用匿名管道实现进程间通讯的程序
一个使用匿名管道实现进程间通讯的程序- A use anonymous pipeline realizes the advancement the
communication procedure
- 2023-04-25 20:50:03下载
- 积分:1
-
Visual C++ 6.0实现线程池管理,值得学习一下。
Visual C++ 6.0实现线程池管理,值得学习一下。-visual C++ 6.0 thread pool demo,research
- 2022-03-24 11:12:21下载
- 积分:1
-
演示了如何在一个程序当中去控制另一个程序的运行!从而实现自动化功能!...
演示了如何在一个程序当中去控制另一个程序的运行!从而实现自动化功能!-demonstrated how, in a program to control the operation of another program! To achieve automation!
- 2022-08-18 15:33:55下载
- 积分:1
-
互斥API使多个实例
Mutex APIs Make multiple instance-aware programs
- 2022-03-06 14:07:48下载
- 积分: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
-
The process of hiding the code. Very easy to use. You can try. Hehe
进程隐藏代码.十分好用.大家可以试试.-The process of hiding the code. Very easy to use. You can try. Hehe
- 2022-11-22 17:40:04下载
- 积分:1
-
这是一道经典的线程同步问题――哲学家吃饭问题。这里结合了win32使得这个问题可视化了...
这是一道经典的线程同步问题――哲学家吃饭问题。这里结合了win32使得这个问题可视化了-This is a classic thread synchronization-- philosopher food problem. Win32 here combination of this makes the issue of visualization
- 2023-01-27 14:00:03下载
- 积分:1
-
operating procedures contradict the procedure if you are running two or more, an...
程序的互斥运行
如果你的程序被同时运行两次以上,有可能会造成文件系统冲突而丢失数据,本例程用一个简单的办法避免第二次启动同一个程序。-operating procedures contradict the procedure if you are running two or more, and may cause conflicts and file system data loss, the routines with a simple way to avoid the second started with a procedure.
- 2022-04-15 19:59:07下载
- 积分:1
-
Process scheduling, memory, process scheduling to understand the situation and k...
进程调度,了解内存中进程调度情况,知道进程在内存中运行情况-Process scheduling, memory, process scheduling to understand the situation and know the process running in memory of
- 2022-02-26 15:51:29下载
- 积分:1
-
读者写者问题实现
读者写者问题实现-readers to write to achieve the problem
- 2023-06-12 23:45:03下载
- 积分:1