Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Basic newbie Indy 10 problems

www.cryer.info
Managed Newsgroup Archive

Re: Basic newbie Indy 10 problems

Subject:Re: Basic newbie Indy 10 problems
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Thu, 11 May 2006 10:34:12

"John Carlyle-Clarke" <jpcc@removethis.bigfoot.com> wrote in message
news:Xns97C084FA0D65Adiscombobulation@207.105.83.66...

> If I use Indy 10.0.76

The current Indy 10 snapshot is 10.1.5.  You should consider upgrading.

> create an empty execute handler

That will cause the server to eat up CPU cycles.  The OnExecute event
handler needs to perform a yielding operation.  If you don't want it to
access the socket (what is the point of having a server that does nothing?)
then at least make a call to Sleep().

> set active to True

What happens if you set that at runtime instead of at design-time?

> start application and then close  it (with no connections made) I get an
> EInvalidPointer exception in IdThread.pas (line 348).

What does the actual code look like?  In my copy, line 348 is a call to
TIdThread.HandleRunException() inside of an exception handler, which does
nothing.

> So, I tried to install 10.1.5, but that won't install because of a
> message about filectrl being used in the package IndySystem50.

Indy 10 doesn't use the FileCtrl unit anymore.  You probably still have
older Indy files on your machine that you did not remove.

> I get a failure in IdSSLOpenSSL.pas saying line too long (more than
> 1023 characters) at line 1.

That is a Borland problem, not an Indy problem.  Line 1 of IdSSLOpenSSL.pas
is certainly not more than 1024 characters long.  In fact, line 1 is only 1
character long.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive