Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-28 Thread AndreasGMail
I must be missing something. I downloaded V5, V6 and V7 but could not find the demo in any of them. Andreas On 25/9/2010 4:08 AM, Francois PIETTE wrote: Hello Andreas, I will be writing a console server application that later will become a window service. If you could point me to the

Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-28 Thread Arno Garrels
AndreasGMail wrote: I must be missing something. I downloaded V5, V6 and V7 but could not find the demo in any of them. What compiler version do you use? If you use Delphi 7+ or C++Builder 2006+ get latest ICSv7. http://wiki.overbyte.be/wiki/index.php/ICS_Download The demo mentioned is located

Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-28 Thread AndreasGMail
Amazing. My download of the V7 version (or V5 and V6 at that) do not have the demo. I downloaded the snapshot from your link and there it was (plus some other nice demos that would have been nice to have at an earlier stage) Thanks, Andreas What compiler version do you use? If you use

Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-25 Thread Francois PIETTE
Hello Andreas, I will be writing a console server application that later will become a window service. If you could point me to the correct demo I would appreciate it. See sample OverbyteIcsSvcTcp.dproj. You may also have a look at OverbyteIcsSrvTcp.dproj which uses the same code wrrapped

Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-25 Thread Arno Garrels
Francois PIETTE wrote: See sample OverbyteIcsSvcTcp.dproj. Please check this demo, it is brocken. The listening socket and clients are executed in different threads! TService.Create is executed in main thread context where the TcpDaemon is created which also creates the window for the

Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-25 Thread Arno Garrels
Arno Garrels wrote: Francois PIETTE wrote: See sample OverbyteIcsSvcTcp.dproj. Please check this demo, it is brocken. The listening socket and clients are executed in different threads! TService.Create is executed in main thread context where the TcpDaemon is created which also creates

Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-24 Thread Francois PIETTE
Hello Andreas, I can't seem to get ICS to work on formless apps. If the callback functions (which in this case are in a thread) are not methods of a form, they are not triggered. Can someone tell me how to do this? There are several demos included with ICS. Their name begins by

Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-24 Thread AndreasGMail
Thanks for the tip Francois, I will be writing a console server application that later will become a window service. If you could point me to the correct demo I would appreciate it. Regards, Andreas On 24/9/2010 10:35 AM, Francois PIETTE wrote: Hello Andreas, I can't seem to get ICS to

[twsocket] Using ICS on formless apps (Console and services)

2010-09-23 Thread AndreasGMail
I can't seem to get ICS to work on formless apps. If the callback functions (which in this case are in a thread) are not methods of a form, they are not triggered. Can someone tell me how to do this? Regards, Andreas -- To unsubscribe or change your settings for TWSocket mailing list please

Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-23 Thread Fastream Technologies
Did you create a message pump with the GetMessage API? There ought to be an example of this in the demos. Regards, SZ On Fri, Sep 24, 2010 at 2:55 AM, AndreasGMail andreasberger@gmail.comwrote: I can't seem to get ICS to work on formless apps. If the callback functions (which in this