会员: 密码:  免费注册 | 忘记密码 | 会员登录 网页功能: 加入收藏 设为首页 网站搜索  
源代码 > Delphi代码 > 系统控制
用做内存map文件的3个类
发表日期:2003-10-10 12:00:00文件大小:16311 下载次数:3269  

代码说明: This unit contains three classes for memory mapped files: TMapStream - A descendant of TStream encapsulating a memory-mapped file, with automatic mutexes for read/write access; TTextMap - A descendant of TMapStream adding text input and output routines and optional encryption; TRecordMap - A descendant of TMapStream adding i/o routines for record files and customizable file headers. This is an abstract class; descendants need to set the record size property in their constructors and override the ReadRec and WriteRec abstract methods. TMapStream is based on freeware code by David Spies, Dmitry Streblechenko and others; TTextMap uses code from the excellent Secrets of Delphi 2 by Ray Lischner and encryption code from Robert Jones's CodeBank.

立即下载

返回顶部】 【打印本页】 【关闭窗口

关于我们 / 给我留言 / 版权举报 / 意见建议 / 网站编程QQ群   
Copyright ©2003- 2024 Lihuasoft.net webmaster(at)lihuasoft.net 加载时间 0.0022