Bonjour,
je suis complètement bloqué sur un problème pourtant simple:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
 
procedure TForm1.FormCreate(Sender: TObject);
var ini:TInifile;
 
begin
  IF NOT( FileExists('C:\monfic.ini') )THEN EXIT;
 
  ini := Tinifile.Create('c:\monfic.ini');
 
    combobox1.Items:=ini.ReadString('pc','', '');
 
   ini.free; 
end;
J'ai toujours l'erreur :
Types incompatibles: Tstring et String
Heee lp!!!