-
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
-
一个多线程的windows控制台应用程序
一个多线程的windows控制台应用程序-a multithreaded the windows console application
- 2022-10-05 00:05:03下载
- 积分:1
-
一个关于进程管理的viasual C++源代码
一个关于进程管理的viasual C++源代码-On process management viasual C++ Source code
- 2022-06-27 01:55:59下载
- 积分:1
-
一个使用C语言编写的模拟windows进程管理的程序,包括进程的创建,查看,替换,消息通信等等,我自己做的,非常精简...
一个使用C语言编写的模拟windows进程管理的程序,包括进程的创建,查看,替换,消息通信等等,我自己做的,非常精简-a C language simulation windows process management procedures, including the process of creating, viewing, replacement, news communications, etc., I do, very concise
- 2022-01-30 18:23:31下载
- 积分:1
-
使Windows程序和Java程序进行通讯的Windows控件和java类
使Windows程序和Java程序进行通讯的Windows控件和java类- Causes the Windows procedure and the Java procedure carries on
the communication Windows to control and the java kind
- 2022-02-24 18:16:03下载
- 积分:1
-
本例的进程处理器程序实现了进程的列举、进程的切换、启动新的进程、杀死进程、命令行处理等功能。...
本例的进程处理器程序实现了进程的列举、进程的切换、启动新的进程、杀死进程、命令行处理等功能。-cases the processors in the process realized by the enumeration process, the process of switching and started a new process, killing process, the command line processing capabilities.
- 2023-03-27 00:55:03下载
- 积分:1
-
引赢新台币或视窗95系统目前在过程中
列举WIN NT或WIN95系统当前活动的进程-cited WIN NT or Windows 95 systems currently in the process of
- 2023-09-08 05:15:03下载
- 积分:1
-
operating procedures contradict the procedure if you are running two or more, an...
程序的互斥运行
如果你的程序被同时运行两次以上,有可能会造成文件系统冲突而丢失数据,本例程用一个简单的办法避免第二次启动同一个程序。-operating procedures contradict the procedure if you are running two or more, and may cause conflicts and file system data loss, the routines with a simple way to avoid the second started with a procedure.
- 2022-04-15 19:59:07下载
- 积分:1
-
用VC写的启动并可控制其他EXE程序的应用程序
用VC写的启动并可控制其他EXE程序的应用程序-VC can start writing the other EXE process control applications
- 2022-08-19 14:15:18下载
- 积分:1
-
是一个钩子利用的实例,使用函数
setwindowshookexw
获取全局键盘信息...
是一个钩子利用的实例,使用函数
setwindowshookexw
获取全局键盘信息-Is an example of the use of hook, use the function global keyboard access to information setwindowshookexw
- 2022-11-06 04:00:04下载
- 积分:1