Hi,
I have an application which is basically a modified version of the tthrdsrv
application which works except for the following.
In the tTcpSrvForm.WsocketClientConnect (Main Thread)
I add a tTabSheet to a tPageControl for each connection which works ok.
In
I think the comment in the demo is not correct.
Actually OnClientConnect is triggered in worker thread
context. You can easily check the thread context by
calling Windows.GetCurrentThreadID. So probably event
OnClientCreate was the place to add the new tab.
--
Arno Garrels [TeamICS]
Arno Garrels wrote:
I think the comment in the demo is not correct.
Actually OnClientConnect is triggered in worker thread
context. You can easily check the thread context by
calling Windows.GetCurrentThreadID. So probably event
OnClientCreate was the place to add the new tab.
Please forget