Re: [twsocket] Question about twsocketthrdserver

2012-04-09 Thread Arno Garrels
Tony Caduto wrote: Hi, I have a chat server is ported from synapse and I used twsocketthrdserver so it would scale with 200 sockets per thread. The problem is in my original server i used a generic tdictionary to store pointers to the client objects. I use a critical section to protect the

Re: [twsocket] Question about twsocketthrdserver

2012-04-09 Thread Arno Garrels
Arno Garrels wrote: Access to the protected TDictonary object is thread-safe, however it is not calling methods and access properties of the client objects. You have to communicate with the clients using Window messages. Look at how TWSocketThrdClient defines a new message ID and overrides

Re: [twsocket] Question about twsocketthrdserver

2012-04-09 Thread Tony Caduto
I'm just doing a sendline after finding the client object in the tdictionary, doesn't a send just put the data in the buffer? I even put the sendline in the critical section and one of the clients still stops responding after about 10 to 20 messages are sent, so it does work for awhile. I will

[twsocket] How to install Firemonkey beta pack for XE2

2012-04-09 Thread brian -
Are there any special steps to follow for installing the beta ICS package (from svn) for Firemonkey? Tried to install it separately, and it gives an error The procedure entry point @Overbyteicslibrary@initialization$qqrv could not be located in the dynamic link library OverbyteIcsDXe2Run.bpl

Re: [twsocket] How to install Firemonkey beta pack for XE2

2012-04-09 Thread François Piette
Are there any special steps to follow for installing the beta ICS package (from svn) for Firemonkey? Tried to install it separately, and it gives an error The procedure entry point @Overbyteicslibrary@initialization$qqrv could not be located in the dynamic link library OverbyteIcsDXe2Run.bpl