Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Problem mit TIdIRC von Indy 10 (https://www.delphipraxis.net/126260-problem-mit-tidirc-von-indy-10-a.html)

robinWie 21. Dez 2008 15:53


Problem mit TIdIRC von Indy 10
 
Hallo,
ich hab heute mal das Tutorial ausprobiert und wenn ich verbinden will kommt immer die Fehlermeldung: "Zugriffsverletzung bei Adresse 00466A19 in Modul 'Project1.exe'. Lesen von Adresse 00000000' auf getreten." Der Fehler ist immer in der IdReplay unit von Indy.

bei idIRC hab ich einige Werte fest im Objektinspektor eingestellt:
Nick: Bot
AltNick: Bot2
UserName: IchBinEinBot
RelaName: Ich Bin Ein Bot
Hots: irc.quakenet.org
Port: 6668

Die überschaubare Source von mein Prog zum ausprobieren:
Delphi-Quellcode:
unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
  IdCmdTCPClient, IdIRC;

type
  TForm1 = class(TForm)
    IdIRC1: TIdIRC;
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
    { Private-Deklarationen }
  public
    { Public-Deklarationen }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
begin
  idirc1.Connect;
end;

end.
Hier Tritt der Fehler in der IdReplay Unit auf:
Delphi-Quellcode:
procedure TIdReply.UpdateText;
begin
FReplyTexts.UpdateText(Self);
end;

monXii 21. Dez 2008 22:34

Re: Problem mit TIdIRC von Indy 10
 
hatte das problem auch..
mir wurde geraten indy 9 zu benutzen ;)
und damit war auch das problem gelöst.. =)

Berlinermauer 22. Dez 2008 09:07

Re: Problem mit TIdIRC von Indy 10
 
Also wenn du wirklich als Port 6668 eingegeben hast, klar!

der Port muss nähmlich 6667 sein!

ansonsten versuch mal Indy 9

monXii 22. Dez 2008 13:06

Re: Problem mit TIdIRC von Indy 10
 
6668 müsste auch klappen :)
ich meine irc liegt auf 6667-6669 ;)


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:47 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz