Hello, When I use the following thread code:
void __fastcall ReverseProxyClientThread::Execute() { //---- Place thread code here ---- FreeOnTerminate = true; ... TIcsWndHandler *windowHandler = new TIcsWndHandler(); windowHandler->MsgLow = WM_APP + 100; while(!Terminated) messagePump(); delete windowHandler; } sometimes we get "Test exception" exception. We have up to 32 THttpConnection and 32 THttpCli descendents in this thread. When I raised WHG_MAX to 800, the exception disappears. Francois, could you raise the constant? Best Regards, SZ -- 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