using System; using System.Runtime.InteropServices; using System.Text; namespace hrattendance.Common { /// <summary> /// INIFile 的摘要说明. /// </summary> public class INIFile { public string path; public INIFile(string INIPath) { path = INIPath;…
EDIT Ini写Ini配置 uses IniFiles; {$R *.dfm} function IniFileName:string; begin Result:=ExtractFilePath(Application.ExeName)+'Settings.ini'; end; procedure SaveConfig(Edit:TEdit); begin with TIniFile.Create(IniFileName) do begin try …