[twsocket] Test Exception in WSocket

2006-08-07 Thread Fastream Technologies
Hello, In the WSocket.pas code below (v6): procedure TCustomWSocket.WndProc(var MsgRec: TMessage); begin try with MsgRec do begin if Msg = FMsg_WM_ASYNCSELECT then WMASyncSelect(MsgRec) else if Msg = FMsg_WM_ASYNCGETHOSTBYNAME then

Re: [twsocket] Test Exception in WSocket

2006-08-07 Thread Arno Garrels
Fastream Technologies wrote: I randomly get the test exception fired in my code. Make sure your custom messages are in a range above WH_MAX_MSG!! It used to give AV but now after some more work, it now gives this. I do not have any code such as PostMessage(WSocket1.Handle,

Re: [twsocket] Test Exception in WSocket

2006-08-07 Thread Arno Garrels
Arno Garrels wrote: Fastream Technologies wrote: I randomly get the test exception fired in my code. Make sure your custom messages are in a range above WH_MAX_MSG!! I mean custom messages posted to a thread, if you post custom messages to a custom window it doesn't matter. --- Arno

Re: [twsocket] Test Exception in WSocket

2006-08-07 Thread Fastream Technologies
, pressing F5 continuously on Firefox. Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 07, 2006 10:25 AM Subject: Re: [twsocket] Test Exception in WSocket : Arno Garrels wrote: : Fastream Technologies

Re: [twsocket] Test Exception in WSocket

2006-08-07 Thread Arno Garrels
- Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 07, 2006 10:25 AM Subject: Re: [twsocket] Test Exception in WSocket Arno Garrels wrote: Fastream Technologies wrote: I randomly get the test exception fired in my

Re: [twsocket] Test Exception in WSocket

2006-08-07 Thread Fastream Technologies
: Monday, August 07, 2006 11:28 AM Subject: Re: [twsocket] Test Exception in WSocket : Fastream Technologies wrote: : Here is my settings: WH_MAX_MSG = 400 and : : #define WM_HTTP_CLIENT_THREAD_ATTACH (WM_APP + 444) : #define WM_HTTP_CLIENT_THREAD_DETACH (WM_APP + 445) : : these are the two

Re: [twsocket] Test Exception in WSocket

2006-08-07 Thread Francois Piette
Sent: Monday, August 07, 2006 11:15 AM Subject: Re: [twsocket] Test Exception in WSocket I do not know of any such poster routine. What I do to reproduce the problem is to press F5 on browser which means the connection is opened but then aborted abruptly. HTH, SZ - Original Message

Re: [twsocket] Test Exception in WSocket

2006-08-07 Thread Fastream Technologies
] To: ICS support mailing twsocket@elists.org Sent: Monday, August 07, 2006 12:52 PM Subject: Re: [twsocket] Test Exception in WSocket : You have some part of your code post a random message. : I suggest you use Microsoft Spy++ tool to spy on your application messages. : -- : [EMAIL PROTECTED

Re: [twsocket] Test Exception in WSocket

2006-08-07 Thread Wilfried Mestdagh
Hello, AFAIK, this tool comes with VC++. Unfortunately I do not have that installed. I _think_ there is a freeware downloadable version. But there are also other similar tools I think. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz --