Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-23 Thread Fastream Technologies
- Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, August 22, 2007 9:46 PM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem Fastream Technologies wrote: But it always stops at that dispatchmessage

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-23 Thread Fastream Technologies
- Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, August 22, 2007 12:30 PM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem Fastream Technologies wrote: Even if there were still such unregistered

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-23 Thread Fastream Technologies
] To: ICS support mailing twsocket@elists.org Sent: Wednesday, August 22, 2007 9:46 PM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem Fastream Technologies wrote: But it always stops at that dispatchmessage! Persistent and insistent. Now that I have some minutes, I checked

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
- Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, August 22, 2007 10:36 AM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem In triggersessionclosed, I postthreadmessage to a message handler in the same

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Arno Garrels
Francois Piette wrote: In triggersessionclosed, I postthreadmessage to a message handler in the same worker thread which then thread-detaches and posts the object to listener thread. However, in every 1-2 hours, under heavy load, the worker thread gives an AV which I suspect is due to a

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
What kind of an AV would yeield no exception message? I have only seen such thing with ICSV6! - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, August 22, 2007 11:16 AM Subject: Re: [twsocket] ThreadDEtach

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
- Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, August 22, 2007 11:16 AM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem Francois Piette wrote: In triggersessionclosed, I postthreadmessage

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Francois Piette
What kind of an AV would yeield no exception message? Use madExcept (www.madshi.net). It is an incredibly useful tool. Also use FastMM (included in BDS2006 but probably a good idea to download latest version from SourceForge) and turn all checks on. Contribute to the SSL Effort. Visit

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
twsocket@elists.org Sent: Wednesday, August 22, 2007 11:36 AM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem What kind of an AV would yeield no exception message? Use madExcept (www.madshi.net). It is an incredibly useful tool. Also use FastMM (included in BDS2006

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Arno Garrels
Fastream Technologies wrote: Even if there were still such unregistered messages pending in the message queue due to the hidden window still exists (handling messages for other components of that thread) those unregistered messages won't be touched by the component but handled by

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
Hello, - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, August 22, 2007 12:30 PM Subject: Re: [twsocket] ThreadDEtach with THttpConnection problem Fastream Technologies wrote: Even if there were still

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Arno Garrels
Fastream Technologies wrote: Is TranslateMessage really needed in a socket worker thread? I guess it's not needed, however I use it in all of my pumps. All I know is I see EAccessViolation at DispatchMessage() of worker thread. The debugger isn't very reliable in multi-threaded applications

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Fastream Technologies
But it always stops at that dispatchmessage! Persistent and insistent. On 8/22/07, Arno Garrels [EMAIL PROTECTED] wrote: Fastream Technologies wrote: Is TranslateMessage really needed in a socket worker thread? I guess it's not needed, however I use it in all of my pumps. All I know is I

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Arno Garrels
Fastream Technologies wrote: But it always stops at that dispatchmessage! Persistent and insistent. Now that I have some minutes, I checked the source code again, however I cannot find any bug, may be sorting out things helps a bit? When a window is being destroyed all pending messages in

Re: [twsocket] ThreadDetach

2006-11-30 Thread Francois Piette
My idea is that when this kind of request are received, I will select a free thread from a pool of working threads that perform the conection to the other server, and when the results arrives, Send() it to the client. This will not require a thread. The connection, sending and receiving are