Re: Indy Telnet problem

Giganews Newsgroups
Subject: Re: Indy Telnet problem
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Tue, 11 Jan 2005

"Solomon Grundy" <nobo…@nowhere.com> wrote in message
news:B40324B65CBBE240nobo…@nowhere.com...

> CleanedBuffer := Buffer;
> for Counter := 0 to 99 do
>  begin
>  CleanedBuffer :=
> StringReplace(CleanedBuffer,'['+IntToStr(Counter)+'m','',[rfReplaceAll]);
>  end;

Why are you doing that?

> Memo1.Lines.Add(CleanedBuffer);

You did not specify what the value of the TIdTelnet's ThreadedEvent property
is.  If it is set to True, then that code is not safe at all.

> procedure TForm1.AutomaticActions(IncomingText : String);

Again, if the ThreadedEvent property is True then that code is very unsafe.

Gambit

Replies

In response to

Indy Telnet problem posted by Solomon Grundy on Tue, 11 Jan 2005