Hello Arno,

----- Original Message ----- 
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Monday, February 05, 2007 1:24 PM
Subject: Re: [twsocket] Possible bug and solution in TWndControl


> Fastream Technologies wrote:
>> 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?
>
> This is probably because you post custom messages do you?

Yes but they are starting from WM_USER and there are only 4 of them in this 
thread. According to help, WM_USER starts from 0x0800 and there should be 
enough room until WM_APP+100.

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

Reply via email to