一个简单又高效的日志系统
本文给出一个性能高,使用简单的日志解决方案。本模块实现日志信息的批量写入文件,定时自动flush到文件中,写入文件的日志级别可动态调整,单个日志文件大小可配置,循环对日志文件写入,这样不会造成机器空间被日志文件耗尽。-A simple and effective logging system In this paper, a high-performance, using a simple log solution. The module to achieve volume of information to write the log files, from time to time automatically flush to a file, write to the file log level can be dynamically adjusted, a single log file size can be configured, cycling on the log file is written, this will not cause the machine space is the log File exhausted.
Split (and unsplit) one big file into multiple small ones This an invisible component with a simple task to split a file into multiple files of certain size. The most common need for this is when you want to put your (big) file on floppy disks, for backup or any other purposes. The method for reversing the process, the unsplitting, is also included. Built & tested using Delphi versions 3, 4 and 5, but it should work with version 2 also 文件分割和重组-Split (and unsplit) one big file into multiple small ones This an invisible component with a simple task to split a file into multiple files of certain size. The most common need for this is when you want to put your (big) file on floppy disks, backup or for any other purposes. The method for reversing the process, the unsplitting, is also included. Built tested using Delphi versions 3, 4 and 5, but it should work with version 2 also document segmentation and reorganization
VC 操作文件的小例子,包括读取指定的文件,并替换指定的内容并写入另一个文件中-VC operation documents small examples, including the designated read in the paper, and the replacement of the designated content, and write another document