-
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
-
线程编程,实现多线程,多任务的处理,进行线程的概念认识...
线程编程,实现多线程,多任务的处理,进行线程的概念认识-Threads programming, realize multi-threaded, multi-mission of the deal, the concept of threads to understand the
- 2022-07-25 02:17:13下载
- 积分:1
-
demonstration of how the procedure can only run one process, if the procedures a...
演示了如何让程序仅仅只能运行一个进程,如果程序已经运行,再点exe就会激活原来已经运行的那个进程。-demonstration of how the procedure can only run one process, if the procedures are already running, then points exe will activate the original operation of that process.
- 2023-01-08 21:10:02下载
- 积分:1
-
多线程编程示范例子,学习的好资料
多线程编程示范例子,学习的好资料-multithreaded programming model example of a good learning information.
- 2022-11-04 12:10:04下载
- 积分:1
-
又一个使用java的小程序察看期边次厄的的好例子
又一个使用java的小程序察看期边次厄的的好例子-also use a small java procedures probation while meeting the Eritrean a good example
- 2022-03-06 19:43:48下载
- 积分:1
-
用VB实现windows9x的任务管理器。附带相关论文1篇
用VB实现windows9x的任务管理器。附带相关论文1篇-VB Windows task manager. Fringe a related papers
- 2022-12-06 11:30:03下载
- 积分:1
-
use UTF
采用 UTF-8 编码,完美兼容多语言
中文化的前台界面(不包括论坛帮助)
中文化的后台
中文化的安装与升级系统
中文的版主操作日志
为中文修正的 CSS, Javascript
为中文修正的语言截断
为中文修正的所见所得编辑器
修正邮件预览乱码的问题
修正模板和后台中多处未使用 Charset 声明出现乱码的问题
修正打印页面 HTML 标签错误混乱
去除后台首页附件使用空间统计(附件一多,首页进入奇慢)
加强的 SSI 脚本,允许以 Javascript 方式调用指定论坛的新帖
增加 Javascript 脚本自动缩图功能,图片加载之后会自动缩小到浏览器窗口的大小范围之内,不会撑破页面表格. 点击缩小后的图片将在新窗口内显示正常大小的图片,同时使用鼠标滚轮 + Ctrl 可以自由放大或缩小图片
各种中文兼容性修正
-use UTF-8 encoding. perfectly compatible with multi-language culture prospects interface (not including the Forum help), the cultural background of the Cultural Department of installation and upgrading EC Chinese operation log to the moderator that the Chinese CSS, Javascript amendment to the Chinese for the Chinese language disconnect that the editor can see from that chaos mail preview Amended code templates and background were not multiple use Charset statement causing distortion of the issues that print pages H TML labels wrong to remove confusion background Home spatial statistical annex (Anne
- 2022-12-16 13:45:04下载
- 积分:1
-
多的制备方法
多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何使用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。-Procedures for the preparation of multi-threaded, multi-threaded applications easily arise. Mutex object to explain, how to use the mutex object to realize multi-thread synchronization. How to use named mutex object to ensure that applications run only one instance. Application of multi-threaded chat room procedures for the preparation of the network.
- 2022-07-09 10:13:40下载
- 积分:1
-
在VC++ 6.0中实现程序单一运行
在VC++ 6.0中实现程序单一运行-6.0 in VC procedures to achieve a single operation
- 2022-05-09 13:55:40下载
- 积分:1
-
电子时钟C++语言开发,可作为样例进一步改进。
电子时钟C++语言开发,可作为样例进一步改进。-Electronic Clock C++ language development, can be used as sample for further improvement.
- 2022-07-14 06:13:29下载
- 积分:1