-
program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize =...
program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize = 4096 //定义页面大小 var VmAddress, CommitAddress: Pointer //存放虚拟内存基址 Text: Pchar begin //保留二页虚拟内存 VmAddress := VirtualAlloc(nil, PageSize * 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned(VmAddress) then begin WriteLn( 保留虚拟内存失败! ) ExitProcess(0) end else WriteLn(Format( 保留虚拟内存成功, 基址为:[%8.8x]! , [Longint(VmAddress)])) //提交第二页虚拟内存 CommitAddress := Pointer(Longint(VmAddress) + PageSize) CommitAddress := VirtualAlloc(CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne-program VirtualMemory ($ APPTYPE CONSOLE) uses SysUtils, Windows const PageSize = 4096// definition pages size var VmAddress, CommitAddress : Pointer// virtual memory-based storage site Text : Pchar begin// reservations two virtual memory VmAddress : = VirtualAlloc (nil. PageSize* 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned (VmAddress) then begin WriteLn (reservations virtual memory failure!) ExitProcess (0) end else WriteLn (Format
- 2022-10-06 15:35:03下载
- 积分:1
-
如何让应用程序只存在一个实例
如何让应用程序只存在一个实例-how applications exists only one example
- 2022-05-15 03:01:06下载
- 积分:1
-
Describe the process of state transition process and provide the process of chan...
描述进程状态迁移过程,提供进程状态变化的条用接口-Describe the process of state transition process and provide the process of change in the status of interface
- 2022-07-01 12:53:42下载
- 积分:1
-
Originally wanted to write a auto
本来想写个自动关机软件的,结果神不知鬼不觉的写成了一个目录监视软件!直接放源码!:-Originally wanted to write a auto-shutdown software, the result of God without anybody knowing it" s written in a directory monitoring software! Direct release source code!:
- 2022-08-16 11:51:57下载
- 积分:1
-
操作系统内存调度各种算法的示例,也是多线程在同一控件上作画的演示程序。...
操作系统内存调度各种算法的示例,也是多线程在同一控件上作画的演示程序。-operating system memory scheduling algorithms example, multithreading in the same controls on painting demonstration program.
- 2022-02-21 04:45:40下载
- 积分:1
-
“任务管理器”中的进程查看只能显示进程的名称,而这个程序可以显示进程的全路径,帮助我们找到可疑程序的启动路径,程序具有“结束进程“的功能...
“任务管理器”中的进程查看只能显示进程的名称,而这个程序可以显示进程的全路径,帮助我们找到可疑程序的启动路径,程序具有“结束进程“的功能-"task manager" in the process View only shows the names of the process, and this process will show the entire process trails, help us find suspicious path to the commencement of proceedings, procedures, "the end of the process" function
- 2022-01-28 11:41:03下载
- 积分:1
-
一个查看系统进程和杀死系统进程的工具,效果很好,功能强大。...
一个查看系统进程和杀死系统进程的工具,效果很好,功能强大。-a systematic process and the process of killing system tools and the results very good, powerful.
- 2023-05-30 22:45:02下载
- 积分:1
-
C程序实现系统存储管理分区分配的算法。运行环境:windows.
C程序实现系统存储管理分区分配的算法。运行环境:windows.
-C program distribution system, storage management partition algorithms. Operating Environment: windows.
- 2022-12-14 16:55: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
-
delphi屏蔽win键和任务管理器。初学Delphi,练习一下。用的是Dll和修改windows的键值...
delphi屏蔽win键和任务管理器。初学Delphi,练习一下。用的是Dll和修改windows的键值-delphi shielding win keys, and task management device. Beginners Delphi, practice. Dll use the windows and change the keys
- 2023-02-09 19:30:04下载
- 积分:1