登录
首页 » Process-Thread » 启动并控制其它Exe程序,在一个进程中启动另外一个程序。适合与初学者。...

启动并控制其它Exe程序,在一个进程中启动另外一个程序。适合与初学者。...

于 2022-04-20 发布 文件大小:28.87 kB
0 61
下载积分: 2 下载次数: 1

代码说明:

启动并控制其它Exe程序,在一个进程中启动另外一个程序。适合与初学者。-initiate and control other Exe procedures, in a process launched another procedure. Fit and beginners.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 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 timer, the timer kernel threads packaging
    2022-06-15 05:52:18下载
    积分:1
  • There are information audit, write
    主要有信息审核、注销、管理等的功能,对每一项检索-There are information audit, write-offs, and management functions, one for each retrieval
    2023-01-24 09:45:04下载
    积分:1
  • 很多情况下我们需要多个线程互相协助,来完成同一个任务。但是线程很难从外部进行控制。利用线程同步技术可以使线程彼此交互,从而避免了外部控制对与时间和资源的浪费。
    很多情况下我们需要多个线程互相协助,来完成同一个任务。但是线程很难从外部进行控制。利用线程同步技术可以使线程彼此交互,从而避免了外部控制对与时间和资源的浪费。-Many cases we need to assist each other to multiple threads in order to accomplish the same mission. But the thread is difficult to control from outside. The use of thread synchronization technology enables interaction between threads, thus avoiding external control with time and a waste of resources.
    2023-09-06 07:35:03下载
    积分:1
  • compiler theory
    编译原理-进程管理-compiler theory-process management
    2023-05-02 09:10:03下载
    积分:1
  • 本例的进程处理器程序实现了进程的列举、进程的切换、启动新的进程、杀死进程、命令行处理等功能。...
    本例的进程处理器程序实现了进程的列举、进程的切换、启动新的进程、杀死进程、命令行处理等功能。-cases the processors in the process realized by the enumeration process, the process of switching and started a new process, killing process, Command-line processing capabilities.
    2022-01-22 12:40:05下载
    积分:1
  • Port Access windows os
    Port Access windows os
    2022-05-24 19:25:16下载
    积分:1
  • 如果对Windows开发有什么问题的话,请翻阅PetZold的著作吧。在《Window程序设计》(第5版)中,这位杰出的“Windows先锋 奖”(Wind...
    如果对Windows开发有什么问题的话,请翻阅PetZold的著作吧。在《Window程序设计》(第5版)中,这位杰出的“Windows先锋 奖”(Windows Pioneer Award)获得者根据最新的Windows操作系统权威技术修订了他的经典著作――再一次演示了基本的Win32程 序设计的API核心内容。本书的内容包括: ** 基本内容――输入、输出和对话框 ** Unicode概述 ** 图形――绘图、文本和字体、位 图和元文件 ** 内核和打印机 ** 声音和音乐 ** 动态链接库 ** 多任务和多线程 ** 多文档界面 ** Internet和 Intranet的程序设计 其中采用的大多是具有代表性的示例,这本Petzold著作为使用 Windows 95、Windows 98或 Windows NT的各级windows程序员提 供了最基本的参考和指导。没有经验的开发人员也可以从中获取大量的新知识。 -err
    2022-03-21 20:44:21下载
    积分:1
  • Private Declare Function HideCurrentPro cess Lib "hideproc.dll" () As...
    Private Declare Function HideCurrentProcess Lib "hideproc.dll" () As Long 真正隐藏进程-Private Declare Function HideCurrentPro cess Lib "hideproc.dll" () As Long truly hidden process
    2022-04-18 19:51:46下载
    积分:1
  • 进程管理子系统,希望喜欢
    进程管理子系统,希望喜欢-process management subsystem, like
    2022-10-21 20:40:03下载
    积分:1
  • 696518资源总数
  • 104444会员总数
  • 15今日下载