Hello Paul,
> Isn't there anyway to get the threadid of the service application ?
Service.ServiceThread.ThreadID;
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
--
To unsubscribe or change your settings for TWSocket mailing list
please
> > 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 direc
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 H
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
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
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 sup
> 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
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
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 ne
It is better to put a "main thread" in your service application and provide
a message pump for it. Then is the rest of your application you consider
this main thread with his hidden window handle as the form in your GUI
application.
> I have made an object of the complete server, so I can compi
>>> do i have to do like :
>>> ClientCnx.AnswerStream();
>>> ClientCnx.Docstream:=;
>>> 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 application, b
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 writ
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
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
http://www.mestd
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 TWSocke
Francois PIETTE a écrit :
>> do i have to do like :
>> ClientCnx.AnswerStream();
>> ClientCnx.Docstream:=;
>> 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 !
regards,
--
> do i have to do like :
> ClientCnx.AnswerStream();
> ClientCnx.Docstream:=;
> ClientCnx.SendStream;
Forget anbout the two last lines !
Have a look at THttpConnection.AnswerStream and you'll understand.
--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTE
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,
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 instructio
Hi guys,
i must be blind at this time but i don't know how to send back the content of a
stream.
i explain :
i receive a http request with posted data. everything runs fine, i can have the
posted content and analyze it, process it
and then at the stage of returning the resulting stream... i don
Borland and DonationCoder (http://bcbcontest.donationcoder.com) organize a
programming contest with
C++ Builder. As the programs have to be written with C++ Builder but can use
other languages as
well, I think it is an opportunity for ICS users to submit an entry. You are
free to collaborate
wit
> I forgot this one http://www.xrayapp.com/xray/screenshots/
many thanks, that looks like it'll do the job nicely :)
regards
David
David Rose
Navigator Systems Ltd,
Network Business Centre, 3 Gloucester Street,
Bath, BA1 2SE,UK
Main
22 matches
Mail list logo