Re: [twsocket] Problem with DataAvailable (similar) [fixed]

2013-03-26 Thread Arno Garrels
Pascal Chapon wrote: Okay, everything is fine if I do it with a PostMessage and process the non-blocking loop in a separate procedure. Yes, that is the solution. Not to call the message pump in event handlers is one of the Ten Coding Commandments, not just in ICS. -- Arno -- To

Re: [twsocket] Problem with DataAvailable (similar)

2013-03-25 Thread Pascal Chapon
thread? Pascal Objet : Re: [twsocket] Problem with DataAvailable (similar) Pascal Chapon wrote: Any idea? Do you call the message pump directly or indirectly, for instance, Application.ProcessMessages or ShowMessage() in one of the ICS event handlers? -- Arno -- To unsubscribe or change

Re: [twsocket] Problem with DataAvailable (similar) [fixed]

2013-03-25 Thread Pascal Chapon
call to app.ProcessMessages, I'll keep you up (not at the company yet...). Is the only theoritically proper solution to handle this kind of mandatory discussion with a separate thread? Pascal Objet : Re: [twsocket] Problem with DataAvailable (similar) Pascal Chapon wrote: Any idea? Do you

[twsocket] Problem with DataAvailable (similar)

2013-03-23 Thread Pascal Chapon
Hi, I've found this message in the Feb 2013 archives, and as I experience a similar problem (although in LineMode), I gave a try to the wsoNoReceiveLoop option. Unfortunately, the problem still persists. I must add that, just before being stuck exactly like Robert below, so on the very

Re: [twsocket] Problem with DataAvailable (similar)

2013-03-23 Thread Arno Garrels
Pascal Chapon wrote: Any idea? Do you call the message pump directly or indirectly, for instance, Application.ProcessMessages or ShowMessage() in one of the ICS event handlers? -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto

[twsocket] Problem with DataAvailable

2013-02-09 Thread Robert Dorn
Hello (sorry, my english is not soo good ;) ) I have a client and a server program and i use binary mode. The communication between the both programs works great. But after a few time one of the programs no longer call the OnDataAvailable event. But still sending on both programs. the

Re: [twsocket] Problem with DataAvailable

2013-02-09 Thread Arno Garrels
Robert Dorn wrote: Hello (sorry, my english is not soo good ;) ) I have a client and a server program and i use binary mode. The communication between the both programs works great. But after a few time one of the programs no longer call the OnDataAvailable event. But still sending on