Re: Indy Telnet problem

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

"Solomon Grundy" <nobo…> wrote in message

> 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.



In response to

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