Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Indy SSL error

www.cryer.info
Managed Newsgroup Archive

Re: Indy SSL error

Subject:Re: Indy SSL error
Posted by:"Koger" (ing..@mail.dk)
Date:11 May 2006 01:00:14

> You can't free a thread while it is still running.  You must
> terminate the thread before then freeing it.

Huh? The threads destructor terminates the thread and wait for it to
finish, isn't that right or did I miss something completly?


> In order to make the
> Connect() exit as soon as possible, you have to disconnect the socket
> from another thread (the main thread in your example) so that
> Connect() aborts in the worker thread.

But I think that's what I do. Button3 is clicked in the main thread

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive