Autor Beitrag
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Fr 07.01.05 20:30 
Hi Leute!!

Hab ein Prob mit der TIdTelnetServer-Kompo von Indy. Ich glaub' aba nich', dass es nur beim TIdTelnetServer so is, weil's nur um einen Parameter des OnConnect oder auch des OnAuthentication-Ereignisses geht.

Genauer:
ausblenden Delphi-Quelltext
1:
procedure TForm1.IdTelnetServer1Connect(AContext: TIdContext);					

Da flippt er aus und sagt:
Delphi-Errormessage:
[Error] Unit1.pas(14): E2003 Undeclared identifier: 'TIdContext'

Ich nehm mal an, dass ich einfach ne Unit einbinden muss... Weiß aba net welche und konnt auch in der Indy10-Help nichts finden...

Kennt jemand das Prob??

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
WeBsPaCe Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 16.02.05 18:58 
Also ich glaub', ich tu hier mal pushen. ;)

Bei dieser procedure ist es auch:
ausblenden Delphi-Quelltext
1:
procedure IdIRC1NicknamesListReceived(ASender: TIdContext; AChannel: String; ANicknameList: TStrings);					

HILFE!! :cry:

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
wdbee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 628
Erhaltene Danke: 1



BeitragVerfasst: So 06.03.05 17:09 
Hab leider nur die V9 und da gibt es diesen Typ nicht. Aber ich suche das immer so:

ausblenden Quelltext
1:
grep -d+ "TIdContext = class" *.pas					

oder
ausblenden Quelltext
1:
grep -d+ "TIdContext" *.pas					
WeBsPaCe Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: So 06.03.05 17:27 
Hallo!!

Was machen die Kommandos?? Ich nehm an, dass das Linux-Zeug is.. ;) Suchen?? :gruebel:

Damit ich weiß, was ich einbinden muss??
wdbee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 628
Erhaltene Danke: 1



BeitragVerfasst: So 06.03.05 17:36 
Schau mal in das Verzeichnis, in dem dein Delphi installiert ist. Dort sollte die Datei grep.exe zu finden sein.
Wenn du das Programm in einer Dos-Box startest

grep ? kommt ein Hilfetext.

-d+ heißt Unterverzeichnisse (-d) durchsuchen an (+) oder aus (-) : (wäre default)
"Suchmuister"
*.pas nur in Pascaldateien suchen

Starte im Indy-Verzeichnis, dann sucht das alles durch und gibt u.a. auch die Dateinamen aus, in denen er das Suchmuster gefunden hat.
WeBsPaCe Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Do 10.03.05 15:54 
:gruebel: Er findet irgendwie nix... Kann wohl nicht sein, wa?? ;)
Saftsack
Hält's aus hier
Beiträge: 3



BeitragVerfasst: So 13.03.05 14:10 
Moin

Du musst einfach idcontext in deine Uses-Liste hinzufügen dann funzt es.
Ich frag mich warum der das nicht gleich anfügt..

naja viel Spaß
WeBsPaCe Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Di 26.04.05 15:06 
:rofl: Das frag' ich mich auch! ;) Danke!!! :D