Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: IRC Component and Indy 9
| Subject: | Re: IRC Component and Indy 9 |
| Posted by: | "Danila Vershinin" (profyprepatyandexdotru) |
| Date: | Sat, 20 May 2006 12:33:41 |
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:446eca52$1@newsgroups.borland.com...
> Then you are not using it properly. What EXACTLY did you do with it?
I've attached Delphi 7 project's source files (using Indy 10.0.52) in
public.attachments. Removed OnRaw event handler.When I am on the channel
from my irc client I can see that the app connects and joins the channel.
But I can not make it show any server notices sent to it, nor be notified
when someone joins channel.
procedure TForm1.ircJoin(ASender: TIdContext; ANickname, AHost,
AChannel: String);
begin
Memo1.Lines.Add('Someone joined channel');
end;
procedure TForm1.ircPrivateMessage(ASender: TIdContext;
const ANicknameFrom, AHost, ANicknameTo, AMessage: String);
begin
ShowMessage(AMessage);
end;
> You did not assign a source TStream to the ReceiveStream property which
contains recorded IRC data for TIdIRC to read.
I can not find that property neither for TIdIRC not for TIdIOHandlerStack...
I did assign TIdIOHandlerStack object for irc component.