| |||||
| Dernière réponse | |
|---|---|
| Sujet : Delphi5 boucel de lecture et *.ini | |
| antp | FOR i:=0 TO maxAdresse DO
tabAdresse[i]:=ReadString('adresse', 'adresse'+intToStr(i), 'erreur'); ça devrait fonctionner je suppose que pour le readstring tu as fait avant un "with monINI do" où monINI a été initialisé. sinon il faut: monINI:=TINIFile.create(extractfilepath(application.exename)+'config.ini'); // je suis plus sûr du nom for ... monINI.ReadString(...); monINI.destroy; [edit]--Message édité par antp--[/edit] |
| Vue Rapide de la discussion |
|---|