Hello Fastream, OK, I was just brainstorming of course :) Yes GetMessage is OK.
Can you not pauze the IDE to see where it is looping ? 100% CPU could be a loop somewhere. You probably comes into a CPU window, but stepping trough it you should come back on some C or Delphi code. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Sunday, January 29, 2006, 18:45, Fastream Technologies wrote: > 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