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

www.cryer.info
Managed Newsgroup Archive

Basic newbie Indy 10 problems

Subject:Basic newbie Indy 10 problems
Posted by:"John Carlyle-Clarke" (jpcc@removethis.bigfoot.com)
Date:11 May 2006 05:03:43

Having never used Indy before, or multithreading in any significant
way, I'm trying to develop a simple test application with Indy.

I'm having some basic problems.  If I use Indy 10.0.76, then create a
new application, drop a TidTCPServer on a form, create an empty
execute handler, set active to True, start application and then close
it (with no connections made) I get an EInvalidPointer exception in
IdThread.pas (line 348).

I found that the demo applications I tried also throw exceptions when
closed (and no, not the connection closed gracefully one... EAbort,
EAccessViolation, that kind of thing).

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.  I
tried for about an hour to get it to intall, but I just can't figure
out the problem.  I saw mentions of this in the newsgroups.  Some said
the solution was to revert to 10.0.76, but Kudzu said try the latest
development snapshot.

So, I ignored the dire warnings and downloaded that.  However, when I
try to compile it, I get a failure in IdSSLOpenSSL.pas saying line too
long (more than 1023 characters) at line 1.  I have a feeling this is
to do with unix line endings, but I can't pinpoint the problem.

For now, I've gone back to 10.0.76, but this is proving to be a steep
learning curve!  Can anyone clear the fog for me?

Replies:

www.cryer.info
Managed Newsgroup Archive