Re: [twsocket] Messages being sent, but Client app locking up

2007-04-03 Thread Clay Shannon
<> Yes << and if yes, do you receive always all data ?>> >> I think so -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried Mestdagh Sent: Saturday, March 31, 2007 2:30 AM To: ICS support mailing Subject: Re: [twsocket]

Re: [twsocket] Messages being sent, but Client app locking up

2007-03-30 Thread Wilfried Mestdagh
Hello Clay, > The app became totally unresponsive. As mentioned in an earlier post, I > think, though, I fixed it by calling TWSocket's Close() method. You you have an OnDataAvailable handler and if yes, do you receive always all data ? --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/ove

Re: [twsocket] Messages being sent, but Client app locking up

2007-03-30 Thread Clay Shannon
<> The app became totally unresponsive. As mentioned in an earlier post, I think, though, I fixed it by calling TWSocket's Close() method. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If th

Re: [twsocket] Messages being sent, but Client app locking up

2007-03-30 Thread Wilfried Mestdagh
Hello Clay, > The message is getting sent (received by the Server app), but then the > Client app locks up. Why would this be? What exacly mean by 'locks up' ? Is the application not receiving windows messages anymore (eg mouse clicks and so), or something else ? > And also: Why wouldn't the sen

Re: [twsocket] Messages being sent, but Client app locking up

2007-03-29 Thread Clay Shannon
Adding ICSSocket_Sending.Close as shown below solves the lockup problem: for i := Pred(slMessagesToSend.Count) downto 0 do slMessagesToSend.Delete(i); ICSSocket_Sending.Close; //Voila! The information transmitted is intended only for the person or entity to which it is addressed and may c

Re: [twsocket] Messages being sent, but Client app locking up

2007-03-29 Thread Clay Shannon
Oops, I left out a part: { Called by SendMessageToRealTime() } procedure TfClientMain.ICS_SendString(AMessageToSend: String); begin try ICSSocket_Sending.SendStr(AMessageToSend); except on E: Exception do begin ShowMessage(Format('%s: %s', [E.ClassName, E.Message])); Client

[twsocket] Messages being sent, but Client app locking up

2007-03-29 Thread Clay Shannon
I am successfully sending messages from my Client MIDAS app to my Server MIDAS app, but then the Client app locks up. Here is my code: 1) The user (me) presses a button to send a message: { This is a test } procedure TfClientMain.Button1Click(Sender: TObject); begin SendMessageToRealTime(1, Fo