-
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
-
- 2022-03-18 11:51:54下载
- 积分:1
-
这是一个操作系统 的精典算法 ,是关于读者写者问题 的,是用c来模拟的,...
这是一个操作系统 的精典算法 ,是关于读者写者问题 的,是用c来模拟的,-This is a classic algorithm operating system is on the readers who wrote in, is to simulate c,
- 2022-03-25 22:12:45下载
- 积分:1
-
多线程文件下载客户端
多线程文件下载客户端-multi-threaded client files
- 2023-02-03 06:20:03下载
- 积分:1
-
显示当前运行的进程
显示当前运行的进程-display current running proce-Displays the current running processes-display current running proce
- 2023-03-29 09:20:04下载
- 积分:1
-
用C++ Builder进行多线程操作的示例
用C++ Builder进行多线程操作的示例-C Builder multithreaded operation example
- 2022-03-22 22:06:20下载
- 积分:1
-
章提供了访问NT中所有Service的功能,每次列举Services时,函数会返回一个列表...
章提供了访问NT中所有Service的功能,每次列举Services时,函数会返回一个列表-chapter of NT visit all the functions Service, each cited Services, the function will return a list
- 2022-07-13 10:56:23下载
- 积分:1
-
引赢新台币或视窗95系统目前在过程中
列举WIN NT或WIN95系统当前活动的进程-cited WIN NT or Windows 95 systems currently in the process of
- 2023-09-08 05:15:03下载
- 积分:1
-
异步的网页请求类可以执行get和post方法
异步的网页请求类可以执行get和post方法-asynchronous web request class can get and post implementation methods
- 2022-03-28 19:29:31下载
- 积分:1
-
断链隐藏进程易[源码],用语言写的小玩意~希望有所帮助
断链隐藏进程易[源码],用语言写的小玩意~希望有所帮助-Easy to hide the process chain [source], written in language gadgets ~ hope that help
- 2022-03-21 02:10:56下载
- 积分:1