Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Sep : Re: Using TServersocket in a dll
| Subject: | Re: Using TServersocket in a dll |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Mon, 10 Sep 2007 15:09:06 |
"G" <info@info-no-spam-.com> wrote in message
news:46e591fe$1@newsgroups.borland.com...
> Thank you for the quick reply - do you have any code or
> link that would show me how to implement an active
> message queue ?
A message queue is nothing more than a call to the Win32 API
Get/PeekMessage(), TranslateMessage(), and DispatchMessage() functions in a
loop. Unless you are spawning your own threads internally, you generally
don't have access to run such a loop in a DLL, though.
Gambit
none