DELPHI中对INI文件的读写
来源:互联网 发布:什么是网络互联 编辑:程序博客网 时间:2024/05/22 16:47
function readInifile(fileName,section,Ident:string):string; //读取配置文件
var
ini:tinifile;
begin
ini:=tinifile.Create(fileName);
result:=ini.ReadString(section,ident,'');
ini.Free;
end;
procedure writeInifile(const fileName,Section, Ident, Value: string); //写inifile
var
ini:tinifile; aPathName:string;
begin
try
aPathName:= ExtractFileDir(fileName);
if not DirectoryExists(aPathName) then
ForceDirectories(aPathName);
ini:=tinifile.Create(fileName);
ini.WriteString(Section, Ident, Value);
ini.Free;
except
end;
end;
- DELPHI中对INI文件的读写
- DELPHI中对INI文件的读写
- Delphi中初始化.Ini文件的读写
- Delphi中初始化.Ini文件的读写
- Delphi中初始化.Ini文件的读写
- Delphi中初始化.Ini文件的读写
- Delphi中初始化.Ini文件的读写
- Delphi中初始化.Ini文件的读写
- Delphi中初始化.Ini文件的读写
- Delphi中初始化.Ini文件的读写
- Delphi中初始化.Ini文件的读写
- DELPHI中关于读写INI文件的详细解说[转]
- ]对INI文件的读写
- Delphi读写ini文件
- Delphi读写INI文件
- Delphi INI 文件读写
- delphi读写INI文件
- Delphi INI 文件读写
- Delphi与Word(三) 取得Word文件的数据
- 怀念爱情
- Delphi与Word 举例
- 040908 R Oracle & SqlServer 's ORDER -->select top & where rownum <= 3
- windowns 2k下tomcat配置
- DELPHI中对INI文件的读写
- DELPHI中读取硬盘的物理序列号
- Proxy
- DELPHI中进程、窗口句柄、文件属性、程序运行状态
- Delphi与XML
- 征集咱们BLOG的副标题!
- Delphi 与 XML 示例(直接利用IXMLDocument)
- Charset in J2EE Web Application
- Delphi与Excel