-
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
-
MThreadVB 多线程技术,VB也可以多线程。
MThreadVB 多线程技术,VB也可以多线程。-MThreadVB multi-threading technology, VB can also be multi-threaded.
- 2023-02-18 06:35:04下载
- 积分:1
-
得到当前进程的运行命令行信息
得到当前进程的运行命令行信息-Get the current process run the command-line information
- 2022-02-11 17:30:45下载
- 积分:1
-
如果对Windows开发有什么问题的话,请翻阅PetZold的著作吧。在《Window程序设计》(第5版)中,这位杰出的“Windows先锋
奖”(Wind...
如果对Windows开发有什么问题的话,请翻阅PetZold的著作吧。在《Window程序设计》(第5版)中,这位杰出的“Windows先锋
奖”(Windows Pioneer Award)获得者根据最新的Windows操作系统权威技术修订了他的经典著作――再一次演示了基本的Win32程
序设计的API核心内容。本书的内容包括: ** 基本内容――输入、输出和对话框 ** Unicode概述 ** 图形――绘图、文本和字体、位
图和元文件 ** 内核和打印机 ** 声音和音乐 ** 动态链接库 ** 多任务和多线程 ** 多文档界面 ** Internet和 Intranet的程序设计
其中采用的大多是具有代表性的示例,这本Petzold著作为使用 Windows 95、Windows 98或 Windows NT的各级windows程序员提
供了最基本的参考和指导。没有经验的开发人员也可以从中获取大量的新知识。 -err
- 2022-03-21 20:44:21下载
- 积分:1
-
最简单的用工作线程控制有进程条的窗口,主窗口调用后,调用工作线程,并显示模式对话框,并可控制线程的进展――在对话框上有pause和stop按钮...
最简单的用工作线程控制有进程条的窗口,主窗口调用后,调用工作线程,并显示模式对话框,并可控制线程的进展――在对话框上有pause和stop按钮-most simple thread work with a process control of the window, the main window to call after call work thread, and displays the dialog, can control the progress of threads-- in a box on pause and stop buttons
- 2022-12-01 07:30:04下载
- 积分:1
-
一个动态监视文件增长工具
一个动态监视文件增长工具-a dynamic monitoring tool for document growth
- 2022-02-21 16:06:04下载
- 积分:1
-
简单的进程查看器
简单的进程查看器-simple process viewer
- 2022-04-09 06:15:59下载
- 积分:1
-
FTP类,支持防火墙设置,在vc上面测试通过,可以放心使用
FTP类,支持防火墙设置,在vc上面测试通过,可以放心使用-category FTP support firewall settings, the vc above tests, can be assured use
- 2022-07-24 03:05:16下载
- 积分:1
-
通过向Mode模块发送event来做状态迁移,Mode模块中有一个Matrix表,通过Matrix表来做出判断...
通过向Mode模块发送event来做状态迁移,Mode模块中有一个Matrix表,通过Matrix表来做出判断-through Mode modules make this event the movement Mode Module Matrix is a table through the Matrix to make a judgment Table
- 2022-05-20 04:48:23下载
- 积分:1
-
This release 0.7 (late beta) of LinuxThreads, a BiCapitalized implementation of...
This release 0.7 (late beta) of LinuxThreads, a BiCapitalized implementation of the Posix 1003.1c "pthread" interface for Linux. LinuxThreads provides kernel-level threads: each thread is a separate Unix process, sharing its address space with the other threads through the new system call clone(). Scheduling between threads is handled by the kernel scheduler, just like scheduling between Unix processes.
- 2022-12-05 05:20:03下载
- 积分:1