怪事!!(10分)

  • 主题发起人 主题发起人 goodloop
  • 开始时间 开始时间
G

goodloop

Unregistered / Unconfirmed
GUEST, unregistred user!
IniFile:=TIniFile.Create('F:/Borland/2000/Delphi6/WallPaperMaker.ini');

DirectDelete:=IniFile.ReadBool('name1','name2',true);
STV.Path:=IniFile.ReadString('name3','Path',STV.SelectedFolder.PathName);
MovePath:=IniFile.ReadString('name4','MovePath',MovePath);
IniFIle.Free;
可以调试成功

但 IniFile:=TIniFile.Create('F:/Borland/2000/Delphi6/WallPaperMaker.ini');
With IniFile do
DirectDelete:=ReadBool('name1','name2',true);
STV.Path:=ReadString('name3','Path',STV.SelectedFolder.PathName);
MovePath:=ReadString('name4','MovePath',MovePath);
IniFIle.Free;
却一直编译不过去?
 
IniFile:=TIniFile.Create('F:/Borland/2000/Delphi6/WallPaperMaker.ini');
With IniFile do
begin
DirectDelete:=ReadBool('name1','name2',true);
STV.Path:=ReadString('name3','Path',STV.SelectedFolder.PathName);
MovePath:=ReadString('name4','MovePath',MovePath);
end;
IniFIle.Free;
 
对纪录类型不是很清楚啊!
 
to wjiachun
是我打错了,问题不在那
它好像是说找不到ReadString函数,ReadBool是好的,可以通过
 
看来是没答案了。~~算了吧~~
 
后退
顶部