项目以Rtti特性做文件参数配置,简化每项读写ini操作,记录以做备忘,代码如下: unit uGlobal; interface uses Windows, Messages, SysUtils, Variants, Classes, Forms, TypInfo, IniFiles; type TConfigBase = class(TPersistent) private FFileName: string; procedure Load(AIniFile: TIniFile); over…