-
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
-
多的好例子
一个比较好的多线程例子 用于学习线程的号厘子-a good example of multi-threaded for learning threads of PCT son
- 2022-07-09 10:06:51下载
- 积分:1
-
实现了在windows系统下的进程隐藏,有效的保护了进程的安全性...
实现了在windows系统下的进程隐藏,有效的保护了进程的安全性
- 2022-01-25 15:03:44下载
- 积分:1
-
在Dao中使用多线程
在Dao中使用多线程-Using multi-thread in DAO
- 2022-02-21 01:50:16下载
- 积分:1
-
通过消息机制实现Exe程序间的数据交换,实现进程间的通讯的有一个方法!...
通过消息机制实现Exe程序间的数据交换,实现进程间的通讯的有一个方法!-information through mechanisms Exe procedures between the exchange of information, to achieve inter-process communication in a way!
- 2022-08-06 13:14:08下载
- 积分:1
-
很好的,我朋友花钱买的,希望对java初学者有所帮组
很好的,我朋友花钱买的,希望对java初学者有所帮组-good, I spend money to buy friends, and I hope to have java help beginners group
- 2022-07-24 16:09:37下载
- 积分:1
-
用VB实现windows9x的任务管理器。附带相关论文1篇
用VB实现windows9x的任务管理器。附带相关论文1篇-VB Windows task manager. Fringe a related papers
- 2022-12-06 11:30:03下载
- 积分:1
-
pipeline category (30KB)
管道类(30KB)-pipeline category (30KB)
- 2022-05-26 16:44:21下载
- 积分:1
-
Multithreading in VB!!! (updated)
Multithreading in VB!!! (updated)
- 2022-02-01 09:56:10下载
- 积分:1
-
本源码实现了一个"任务管理器",可以对进程进行各种操作.使用了与进程有关的API和进程操作事例....
本源码实现了一个"任务管理器",可以对进程进行各种操作.使用了与进程有关的API和进程操作事例.-The source to achieve a
- 2023-08-24 03:25:03下载
- 积分:1