Autor Beitrag
superchatti
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 296

Win XP, Red Hat Linux 7.3
Delphi 6 PE
BeitragVerfasst: Mi 30.07.03 17:55 
Ich habe vollgendes Problem:

Ich benutze diesen Code:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
procedure TfrmMain.ComboBox1Change(Sender: TObject);
var
ini:TIniFile;
begin
ini:=TIniFile.Create(ExtractFilePath(ParamStr(0))+'konten.ms');
POP.Host := ini.ReadString(ComboBox1.Items.Strings[ComboBox1.ItemIndex],'PopServer','');
POP.Username := ini.ReadString(ComboBox1.Items.Strings[ComboBox1.ItemIndex],'Benutzer','');
POP.Password := ini.ReadString(ComboBox1.Items.Strings[ComboBox1.ItemIndex],'Passwort','');
POP.Connect;
ComboBox1.Enabled:=false;
end;


Da bekomme ich folgenden Fehler:
Zitat:

...exception class EIdSocketError with message 'Socket Error # 11004':


Weiß jemand was falsch läuft?

_________________
mfG Superchatti
lemming
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 470

Mac OS 10.3.1
Delphi 6 Pro, Kylix 3
BeitragVerfasst: Do 31.07.03 14:00 
Übersetzt heißt die Meldung "Valid name, no data record of requested type"

Lass dir mal mit ShowMessage ausgeben was du aus der INI herausliest.
Evtl. kommt da was schrottig rüber.
superchatti Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 296

Win XP, Red Hat Linux 7.3
Delphi 6 PE
BeitragVerfasst: Do 31.07.03 14:06 
Ok! Mach ich!

_________________
mfG Superchatti
superchatti Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 296

Win XP, Red Hat Linux 7.3
Delphi 6 PE
BeitragVerfasst: Do 31.07.03 14:36 
Dankeschön!
Ich habe vergessen die Strings zu entschlüsseln!

_________________
mfG Superchatti