-
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
-
sdfsdfddkjhflksadhflkashfdlkadslfkhsadlfkhldsakhf ldskjfds
vc多线程开发的资料---------dddddddddddddd顶顶顶顶顶顶顶顶顶顶顶顶的-sdfsdfddkjhflksadhflkashfdlkadslfkhsadlfkhldsakhf ldskjfds
- 2023-02-03 17:05:04下载
- 积分:1
-
掌握CDC的文字处理程序的编写,如何产生自定义字体和自定义插入符,熟悉对CString类的使用。通过对卡拉OK程序的编写,讲解定时器的使用和DrawText函数...
掌握CDC的文字处理程序的编写,如何产生自定义字体和自定义插入符,熟悉对CString类的使用。通过对卡拉OK程序的编写,讲解定时器的使用和DrawText函数的巧妙运用。讲解如何使用CDC的裁减功能。-grasp of word processing procedures for the preparation, how to customize fonts and custom insert website. redeem familiar with the right kind of use. By karaoke program, the timer on the use and DrawText function cleverly use. CDC on how to use the reduction of function.
- 2022-04-21 05:09:36下载
- 积分:1
-
一个异步线程的例子!使用C++编写。
多线程编写初步例子!...
一个异步线程的例子!使用C++编写。
多线程编写初步例子!-Example of an asynchronous thread! The use of C++ Prepared. Examples of the preparation of a preliminary multi-threaded!
- 2022-02-04 20:02:34下载
- 积分:1
-
一个监测多线程的程序。 已经通过测试
一个监测多线程的程序。 已经通过测试-monitoring a multi-threaded process. Have to pass the test
- 2022-03-12 08:34:14下载
- 积分:1
-
use UTF
采用 UTF-8 编码,完美兼容多语言
中文化的前台界面(不包括论坛帮助)
中文化的后台
中文化的安装与升级系统
中文的版主操作日志
为中文修正的 CSS, Javascript
为中文修正的语言截断
为中文修正的所见所得编辑器
修正邮件预览乱码的问题
修正模板和后台中多处未使用 Charset 声明出现乱码的问题
修正打印页面 HTML 标签错误混乱
去除后台首页附件使用空间统计(附件一多,首页进入奇慢)
加强的 SSI 脚本,允许以 Javascript 方式调用指定论坛的新帖
增加 Javascript 脚本自动缩图功能,图片加载之后会自动缩小到浏览器窗口的大小范围之内,不会撑破页面表格. 点击缩小后的图片将在新窗口内显示正常大小的图片,同时使用鼠标滚轮 + Ctrl 可以自由放大或缩小图片
各种中文兼容性修正
-use UTF-8 encoding. perfectly compatible with multi-language culture prospects interface (not including the Forum help), the cultural background of the Cultural Department of installation and upgrading EC Chinese operation log to the moderator that the Chinese CSS, Javascript amendment to the Chinese for the Chinese language disconnect that the editor can see from that chaos mail preview Amended code templates and background were not multiple use Charset statement causing distortion of the issues that print pages H TML labels wrong to remove confusion background Home spatial statistical annex (Anne
- 2022-12-16 13:45:04下载
- 积分:1
-
c++builder下的多线程例程,多线程演示三种排序方法,为初学者理解多线程很有帮助~!...
c++builder下的多线程例程,多线程演示三种排序方法,为初学者理解多线程很有帮助~!-c++ builder under the routine multi-threaded, multi-threaded sort of three methods of presentation, for beginners to understand multi-threaded helpful ~!
- 2022-04-25 12:34:18下载
- 积分:1
-
理发师睡觉问题 可以利用它来解决嗜睡的理发师问题 进程调度与信号量问题...
理发师睡觉问题 可以利用它来解决嗜睡的理发师问题 进程调度与信号量问题-Seville sleep problems can use it to solve the problem sleepiness barber process scheduling and capacity problems of signal
- 2022-11-07 10:15:03下载
- 积分: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
-
Give Your .NET
Give Your .NET-based Application a Fast and Responsive UI with Multiple Threads
- 2022-03-29 11:00:48下载
- 积分:1