CnPack Forum

#1 建议在 "INI读写单元向导" 中增加部分内容。
我一般会在生成的文件后增加这样一段，能不能直接放到里面去？

initialization
IniOptions := TIniOptions.Create;
AppPath := ExtractFilePath(Application.Exename);
IniOptions.LoadFromFile(AppPath + ChangeFileExt(ExtractFileName(Application.ExeName), '.ini'));

finalization
IniOptions.SaveToFile(AppPath + ChangeFileExt(ExtractFileName(Application.ExeName), '.ini'));
IniOptions.Free;
5/18 00:24
Net2k

#2
..

#1 >>Next Page

Forum:CnPack IDE 专家包（CnW ...
Thread:建议在 "INI读写 ...
Next Thread:调试信息查看器输出遗 ...

Home
Login

Powered by Discuz!