Hello,
my thread's execute method would look like this now:
var msg:TMsg;
begin
while not terminated do
begin
case myaction of
acreate: here I'd create a new connection and then status
will be anothing again
aclose: here I'd close a open connection and then status
will be anothing again
anothing:
begin
if PeekMessage(Msg, 0, 0, 0, pm_noremove) then
begin
TranslateMessage(Msg);
DispatchMessage(Msg);
end;
end;
end;
end;
end;
The question now:
1. that should work, shouldn't it?
2. would pm_noremove be okay, or should I rather pm_remove?
Greetings
Markus
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be