Hello Fastream,

You have to call the message pump from in your thread's execute method.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

Monday, January 30, 2006, 08:09, Fastream Technologies wrote:

> Hello Wilfried,

> I am using noforms and multithreaded and for some reason the messagepump is
> never called! Can we assume this as normal since I am using async methods
> only?

> Regards,

> SZ

> ----- Original Message ----- 
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "ICS support mailing" <twsocket@elists.org>
> Sent: Sunday, January 29, 2006 7:45 PM
> Subject: Re: [twsocket] THttpConnection throttling problem with timer


>> Hello Wilfried,
>>
>> I do not think that's the problem. The code is:
>>
>> void __fastcall httpClient::MessagePump(TObject *Sender)
>> {
>>        httpServerClient->affinityThread->messagePump();
>> }
>> //---------------------------------------------------------------------------
>>
>> and it calls a GetMessage() based loop which is good.
>>
>> Regards,
>>
>> SZ
>>
>> ----- Original Message ----- 
>> From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" <twsocket@elists.org>
>> Sent: Sunday, January 29, 2006 6:59 PM
>> Subject: Re: [twsocket] THttpConnection throttling problem with timer
>>
>>
>>> Hello Fastream,
>>>
>>>>         FCtrlSocket->OnMessagePump = MessagePump;
>>>
>>> This was in fact the answer to my question. But what do you have written
>>> in MessagePump ? If it is the MessagePump method from TWSocket you are
>>> in an endless loop because MessagePump will call OnMessagePump if it is
>>> assigned.
>>>
>>> ---
>>> Rgds, Wilfried [TeamICS]
>>> http://www.overbyte.be/eng/overbyte/teamics.html
>>> http://www.mestdagh.biz
>>>
>>> -- 
>>> 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
>>
>> -- 
>> 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 


-- 
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