登录
首页 » Process-Thread » 功能介绍:有些软件在运行中要将某些文件压缩成压缩文件。自己写压缩过程未免太麻烦了, 虽然有很多免费的源代码类可以使用,还要看代码的使用方式,一个不小心就不一...

功能介绍:有些软件在运行中要将某些文件压缩成压缩文件。自己写压缩过程未免太麻烦了, 虽然有很多免费的源代码类可以使用,还要看代码的使用方式,一个不小心就不一...

于 2022-09-12 发布 文件大小:160.02 kB
0 174
下载积分: 2 下载次数: 1

代码说明:

功能介绍:有些软件在运行中要将某些文件压缩成压缩文件。自己写压缩过程未免太麻烦了, 虽然有很多免费的源代码类可以使用,还要看代码的使用方式,一个不小心就不一定很正常了。 我的做法是调用现有的压缩文件来完成压缩功能。用等待进程结束的方法实现压缩。 完成后再作后面的其他工作。 本程序旨在演示启动和等待进程结束的方式调用其他程序的方法。 -functional presentations : Some software in the operation of certain documents should compressed into compressed files. , Wrote the compression process would be too troublesome, although there are many free source code can use category, but also the use of code, a careless It is not the normal. My approach is to call the compressed files to complete compression. The process used to wait for the end of the compression method. Upon the completion of the back for the other work. This procedure aims to demonstrate the process of initiating and wait for the end of the call other procedures.

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

发表评论

0 个回复

  • Multithreading is a powerful tool, we can each time the need to implement the ma...
    多线程是一个功能强大的工具,我们可以在每次需要执行长时间运行的任务时使用该工具。我们可以用它运行辅助代码,而无需绑定用户界面。但同时要注意,多线程操作非常复杂,要正确操作并不容易,而且调试起来也比较困难。 尽管不一定能够实现,但我们还是应该尽量为每个辅助线程提供一组它可以操作的独立数据。要达到这个目的,最简单的方法就是为每个线程创建一个对象,对象中包含该线程可以操作的数据以及完成工作所需的代码。 通过实现结构化的架构,使之充当辅助线程和 UI 线程之间的媒介,我们可以大大简化编写多线程代码和 UI 以对其进行控制的过程。本文就介绍了这样一个架构,您可以根据需要使用或进行调整,以满足特定的应用需要。(附有详细的中文说明)-Multithreading is a powerful tool, we can each time the need to implement the mandate of running the use of this tool. We can use it for running auxiliary code, without the bundled user interface. It should be noted that multi-threaded operation is very complex to operate correctly is not easy, but it is also testing more difficult. Although not necessarily to achieve, but we should still try to provide every support threaded a group it can operate independent of data. To achieve this purpose, the simplest way is to create a thread for each object, object contains the thread can operate and the data necessary to complete the work of the code. Through the structure of the archit
    2023-06-08 19:10:04下载
    积分:1
  • procedures VC preparation, short on how to terminate the designation process.
    程序用VC编写,短小,说明如何终止指定进程。-procedures VC preparation, short on how to terminate the designation process.
    2022-08-14 04:31:00下载
    积分:1
  • GPS数据采集程序.rar
    GPS数据采集程序.rar-GPS data collection procedures. Rar
    2022-07-26 03:48:41下载
    积分:1
  • 一个基于父进程和子进程之间用匿名管道进行进程通讯的实例,附带了可执行文件以及全部源码。非常好的了解匿名管道机制的程序。...
    一个基于父进程和子进程之间用匿名管道进行进程通讯的实例,附带了可执行文件以及全部源码。非常好的了解匿名管道机制的程序。-One based on the parent process and child processes to process communication with the anonymous pipe instance comes with an executable file and all source code. A very good understanding of the anonymous pipe mechanism.
    2022-03-03 18:50:32下载
    积分: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
  • 在Windows 2000/XP/2003环境下,创建一个包含N个线程的控制台进程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的...
    在Windows 2000/XP/2003环境下,创建一个包含N个线程的控制台进程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先的读者一写者问题。-Windows 2000/XP/2003 environment, the creation of an N threads include the console process. Use of these n threads to express n readers who write. Each thread according to the corresponding test data files (with a) on the request and write. Using signal mechanism volume respectively priority and the readers who wrote a priority of readers wrote persons.
    2022-01-25 16:06:10下载
    积分:1
  • c++builder下的多线程例程,多线程演示三种排序方法,为初学者理解多线程很有帮助~!...
    c++builder下的多线程例程,多线程演示三种排序方法,为初学者理解多线程很有帮助~!-c++ builder under the routine multi-threaded, multi-threaded sort of three methods of presentation, for beginners to understand multi-threaded helpful ~!
    2022-04-25 12:34:18下载
    积分: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
  • philosopher Wanton good meal, we must carefully study a Oh!
    哲学家吃饭的好东东,一定要好好研究研究哦!-philosopher Wanton good meal, we must carefully study a Oh!
    2022-11-23 06:45:03下载
    积分:1
  • simple realization of a systematic process management. Can see the current syste...
    实现简单的系统进程管理。可察看当前系统中正在运行的进程,进程的基本信息。(如:进程大小、线程ID等)可终止某一进程。-simple realization of a systematic process management. Can see the current system running processes, the process of basic information. (Eg : Process size, thread ID, etc.) may terminate a process.
    2022-01-26 07:00:45下载
    积分:1
  • 696516资源总数
  • 106686会员总数
  • 0今日下载