Autor Beitrag
csigg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Do 19.05.05 11:48 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
 try
          Connected := true;
          result := true;
        except
          on EIBInterBaseError do
          begin
           Connected := false;
           Params.Clear;
           Params.Add('user_name=Messeusr');
           Params.Add('password=transport2005');
           LoginPrompt := false;
           result := false;
          end;
          else
          begin
           Connected := false;
           Params.Clear;
           Params.Add('user_name=Messeusr');
           Params.Add('password=transport2005');
           LoginPrompt := false;
           result := false;
         end;


Mein Programm Kompiliert nicht, da immer die Fehlermeldung kommt das EIBInterBaseError ein 'Undefinierter Bezeichner' ist. Allerdings geht er in nem anderen Form des geleichen Programms. Hat jemand nen Idee??
feivel3333
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 190

W7
Delphi XE prof
BeitragVerfasst: Do 19.05.05 12:10 
Hast du in der Uses-Liste "IB" stehen ? Sonst versteht er "EIBInterBaseError" nicht.

Gruß, Feivel
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Do 19.05.05 12:13 
Danke, das war der Fehler.
Es funktioniert zwar noch nicht so wie ich gern hätte, aber zumindest gehts mal soweit.
Ich würde gern bei falschem Passwort, Benutzernamen ne extra meldung ausgeben, aber das werd ich schon irgendwie rausfinden.
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Do 19.05.05 12:15 
ok, hat doch funktioniert, hab gedacht ich hab schon ein ShowMessage drin, hab ich aber schon wieder gelöscht gehabt.