Make a property for it in the derived class then. This method would be much
faster than object recreation!
On Sat, Oct 18, 2008 at 11:38 PM, brian <[EMAIL PROTECTED]> wrote:
> I can't access FMsg_WM_HTTP_SET_READY because it's under Protected
>
> - Original Message -
> From: "Paul" <[EMAI
I've decided to just free/re-create the httpcli at run-time, works the best.
thanks
- Original Message -
From: "Paul" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, October 18, 2008 21:40
Subject: Re: [twsocket] best way to reset HttpCli
>I think so,
>
> If you call Abo
I can't access FMsg_WM_HTTP_SET_READY because it's under Protected
- Original Message -
From: "Paul" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, October 18, 2008 21:40
Subject: Re: [twsocket] best way to reset HttpCli
>I think so,
>
> If you call Abort, OnRequestdone
Angus Robertson - Magenta Systems Ltd wrote:
> 2 - Use the SvCom service environment, which allows you to create a
> application that may be run as either a GUI or service.
>
> http://www.aldyn-software.com/svcom.html
>
> I've used this for one new application, and it works nicely, although
> I
I think so,
If you call Abort, OnRequestdone will be triggered.
You can set a flag when you call abort, and then you can take action in
OnRequestdone.
You problably have to free some streams anyway, which are usually freed in
OnRequestdone.
Paul
- Original Message -
From: "brian" <[
You mean I should post the message and wait for the next call until
OnRequestDone triggers?
where is FMsg_WM_HTTP_SET_READY defined?
thanks
- Original Message -
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, October 18, 2008 15:47
Subject:
I could try, but the same class runs fine in a normal application.
I've used in many services wihout problems.
Only now, it has to connect to a webservice first before connecting to an
application server.
Logon to this application server works on de second retry (3rd try)
>From then on, it works p
> I have a service application with a HtppsCli which has ran fine
> connecting to a server.
Debugging service applications is a pain. Experience has shown there are
two ideal way to write service applications with Delphi.
1 - Write a normal windows executable, with a minimal GUI, I usually jus
I can't image that is has something to do with the message loop.
Once connected to the second webservice, it keeps running fine.
There's a differenent behaviour between a service application and a normal
program though.
And bebugging a service is not as easy either ..
Paul
- Original Mess
Paul wrote:
> This is the service execute :
>
> procedure TRpUaClnt.DDServiceExecute(Sender: TDDService);
> begin
> FHandle:= RpUaClnt.ServiceWindow;
> UaClient.OnDisplay:= Display;
> UaClient.StartApplication;
> while not terminated do
>try
> ServiceThread.ProcessRequests(true);
>
This is the service execute :
procedure TRpUaClnt.DDServiceExecute(Sender: TDDService);
begin
FHandle:= RpUaClnt.ServiceWindow;
UaClient.OnDisplay:= Display;
UaClient.StartApplication;
while not terminated do
try
ServiceThread.ProcessRequests(true);
except
on E: excepti
Arno Garrels wrote:
> Paul wrote:
>>> Where to you create your class?
>> in ServiceStart
>>
>>> Async or sync methods?
>> Async
>>
>>> Maybe messages are not processed properly.
>>> Are there more threads beside main thread and service thread?
>> It's directlly in the service thread (with message
Paul wrote:
>> Where to you create your class?
> in ServiceStart
>
>> Async or sync methods?
> Async
>
>> Maybe messages are not processed properly.
>> Are there more threads beside main thread and service thread?
> It's directlly in the service thread (with message loop)
Is TService.OnExecute a
I reported this as BUG in 2007. Then nobody seemed to find a real solution
and I found a workaround:
I created a descendent in C++ and,
void __fastcall httpClient::SetReady()
{
if(alreadySetReady)
return;
alreadySetReady = true;
PostMessage(FHandle, FMsg_WM_HTTP_SET_READY, 0, 0);
}
//---
Hello,
Thanks for the response.
Will the 'From:' and 'Received:' lines always be the text for the lines. Or
will it be translated to X language?
Ciao,
Mark
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Francois PIETTE
Sent: Saturday, October 18, 20
> Where to you create your class?
in ServiceStart
>Async or sync methods?
Async
>Maybe messages are not processed properly.
>Are there more threads beside main thread and service thread?
It's directlly in the service thread (with message loop)
>What ICS version do you use?
It's still V5
Paul
Hi,
I am using a httpcli created on run-time. I first connect to a website, and
after DocEnd I call another procedure that changes the event procedures and
connects to a different website. On the 2nd call I get an Exception "HTTP
component is busy", so I do this before trying the 2nd call
tr
Paul wrote:
> I have a service application with a HtppsCli which has ran fine
> connecting to a server.
> Now, I need the HttpsCli connecting to another webservice first.
> Connecting to this new webservices runs fine, but when the HttpsCli
> connects to another webservice afterwards, it goes wrong
Hi,
I have a service application with a HtppsCli which has ran fine connecting
to a server.
Now, I need the HttpsCli connecting to another webservice first.
Connecting to this new webservices runs fine, but when the HttpsCli connects
to another webservice afterwards, it goes wrong:
The first tim
> I am using V5.
>
> This is all part of automated alarming logic.
>
> I need to verify that some user responded to an alarm email. I just need
> to
> check the email address against a list.
>
> I see in the header the first line is Return-path:
>
> Will it be that format/language for all mail se
20 matches
Mail list logo