Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Sep : Re: Using TServersocket in a dll

www.cryer.info
Managed Newsgroup Archive

Re: Using TServersocket in a dll

Subject:Re: Using TServersocket in a dll
Posted by:"G" (info@info-no-spam-.com)
Date:10 Sep 2007 11:50:38

Remy Lebeau (TeamB) wrote:

>
> "Gaetan Siry" <info@info-no-spam.com> wrote in message
> news:46e576b6@newsgroups.borland.com...
>
> > Is it possible eto use the TserverSocket component in a dll ?
>
> Yes.
>
> > I am having problemsreading incoming data (ClientReadEvent
> > is not fired) when used in a dll.
>
> You are probably using it in non-blocking mode (its default).  That
> requires an active message queue to be running in the thread that
> runs the server.  If you do not have a queue, then you must use the
> server in thread-blocking mode instead.
>
>
> Gambit

Thank you for the quick reply - do you have any code or link that would
show me how to implement an active message queue ?

Thanks

--

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive