[twsocket] ICS Registration

2006-04-11 Thread Francois PIETTE
As you subscribed to ICS support mailing list, you probably use ICS. Good ! But have you taken time to register your ICS copy ? ICS is freeware but to use it, you must register it. Registration is very simple: just mail a [real, paper] picture postcard to the author (me). You can find

[twsocket] Mailing list usage

2006-04-11 Thread Francois PIETTE
To all subscribers: 1) Please do not use HTML or RTF messages in the list. Use only plain/text messages (by default Outlook uses HTML ! You must change the setting). When replying, be sure to use plain/text. If someone email to list accidently NOT in plain text and if you reply to it,

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Francois PIETTE
do i have to do like : ClientCnx.AnswerStream(correctparameters); ClientCnx.Docstream:=ResultStream; ClientCnx.SendStream; Forget anbout the two last lines ! Have a look at THttpConnection.AnswerStream and you'll understand. -- Contribute to the SSL Effort. Visit

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Guillaume MAISON
Francois PIETTE a écrit : do i have to do like : ClientCnx.AnswerStream(correctparameters); ClientCnx.Docstream:=ResultStream; ClientCnx.SendStream; Forget anbout the two last lines ! Have a look at THttpConnection.AnswerStream and you'll understand. Yop ! it works ! Thanks a lot François

[twsocket] Postmessage in Service application

2006-04-11 Thread Paul
I want to convert a Http client application into a service application. How do I use PostMessage in a service application. I've tried with PostMessage /PostThreadMessage with handle= application.Handle, but is doens't seem to work :-( Paul -- To unsubscribe or change your settings for

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Wilfried Mestdagh
Hello Paul, There is no difference ! PostMessage post a message to a (hidden) window, while PostThreadMessage post a message to a threadID with a messag pump. Can you eventually clarify your question ? --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Arno Garrels
Paul wrote: I want to convert a Http client application into a service application. How do I use PostMessage in a service application. I've tried with PostMessage /PostThreadMessage with handle= application.Handle, but is doens't seem to work :-( Who shall receive that message? The service

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Paul
Normally, when a Http request is done (thru OnRequestdoen) I post a message to the form to restart a next Http request. This is normally done as PostMessage(handle, MyMessage, 0, 0) But where can I find the handle of the service application ? I have a similar problem with a new Httpserver I'm

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Francois PIETTE
do i have to do like : ClientCnx.AnswerStream(correctparameters); ClientCnx.Docstream:=ResultStream; ClientCnx.SendStream; Forget anbout the two last lines ! Have a look at THttpConnection.AnswerStream and you'll understand. Yop ! it works ! Thanks a lot François ! I don't know your

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Arno Garrels
Paul wrote: Normally, when a Http request is done (thru OnRequestdoen) I post a message to the form to restart a next Http request. This is normally done as PostMessage(handle, MyMessage, 0, 0) But where can I find the handle of the service application ? I have a similar problem with a new

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Wilfried Mestdagh
Hello Paul, I have made an object of the complete server, so I can compile it as a program or as a service application. Simple, add a hiden window to the object and post messages to that windwos hadnle instead of the form. alternative, you find on my site a simple class to include. then you

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Paul
Why not make your object self contained, that is make it as explained above: with a thread having a message pump. But the service application already has a message pump, it wouldn't work without it. The Httpserver already works this way without an additional message pump. Is there a way I

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Paul
Hello Wilfried, Thanks for your class, but I'm looking for another option. Interactive services won't be allowed anymore in Vista. Isn't there anyway to get the threadid of the service application ? Paul - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Arno Garrels
Paul wrote: Hello Wilfried, Thanks for your class, but I'm looking for another option. Interactive services won't be allowed anymore in Vista. If so it's my end ;( Where can I find infos, please? Btw: Wilfried's class isn't an interactive service by default. Isn't there anyway to get

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Paul
Hi Arno, If so it's my end ;( Where can I find infos, please? Btw: Wilfried's class isn't an interactive service by default. I've read it a few times on the borland.delphi newsgroups. For what I remember, Vista will have a much stronger security and for that it wont allow any kind of direct

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Guillaume MAISON
Francois PIETTE a écrit : Yop ! it works ! Thanks a lot François ! I don't know your application, but maybe the template feature would be interesting for you. It is very powerful. For a demo, see TWebServForm.CreateVirtualDocument_Template. The principle is simple: you prvide a HTML

Re: [twsocket] Postmessage in Service application

2006-04-11 Thread Angus Robertson - Magenta Systems Ltd
If so it's my end ;( Where can I find infos, please? Btw: Wilfried's class isn't an interactive service by default. I've read it a few times on the borland.delphi newsgroups. For what I remember, Vista will have a much stronger security and for that it wont allow any kind of direct