> 1. What I set to property Multitreaded? I don't understand it.
This property tells the component it is working within a secondary thread.
See the source code and you'll see it use that property to slightly modify
the way it get and handle messages.
> 3. In all examples I see that I must access
Thanks Abdullah,
Now I look HttpThr example
With best regards,
Anatoly Podgoretsky
- Original Message -
From: "Abdullah AlQasim" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Friday, October 06, 2006 4:51 PM
Subject: Re: [twsocket] How to use THttpCl
Hi Frans,
Examples and third party demos are very high, really I don't catch all of them.
:-)
But I looked its example and see that my current code very similar.
With best regards,
Anatoly Podgoretsky
- Original Message -
From: "Frans van Daalen" <[EMAIL PROTECTED]>
>>I think the bes
- Original Message -
From: "Abdullah AlQasim" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Friday, October 06, 2006 3:51 PM
Subject: Re: [twsocket] How to use THttpCli with threads?
>I think the best way Francois provide us a full multi-threading
I think the best way Francois provide us a full multi-threading example
for HttpCli or any member in the list already done sample for that.
Anatoly Podgoretsky wrote:
> I ask before about
>
> 1. What I set to property Multitreaded? I don't understand it.
> I did? I believe I must.
>
> and about
I ask before about
1. What I set to property Multitreaded? I don't understand it.
I did? I believe I must.
and about
3. In all examples I see that I must access HttpCli data with Memory Stream
(ms.LoadFromStream(StringList) - is another method to access received data
without a stream? Directly
Hi Francois,
I,m already move create all dynamics into Execute.
Now I testing for stabily, progressive methods of works.
I'm very new for ICS, but interesting its from 2000 years, now I have
application where all it need and I need study, study and study.
Few uncomfortably that all code I need w
essage -
From: "Anatoly Podgoretsky" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Friday, October 06, 2006 9:46 AM
Subject: Re: [twsocket] How to use THttpCli with threads?
> Hi Arno and Francois,
>
> I understood my my mistake. I think that TBaseThread
troy in wich context it execute? In context
> of thread?
>
> With best regards,
> Anatoly Podgoretsky
>
> - Original Message -
> From: "Francois Piette" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Friday, October 06, 2006
e" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Friday, October 06, 2006 10:11 AM
Subject: Re: [twsocket] How to use THttpCli with threads?
>> What I'm doing wrong?
>
> Your HTTP component runs in the main thread since you created in the context
> of
Hello,
With your code below THttpCli's events are not executed in TBaseThread.
Create and Destroy THttpCli in Execute procedure of the thread.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Anatoly Podgoretsky wrote:
> Hi!
>
> I want use THttpCli within TTread, bu
List"
Sent: Thursday, October 05, 2006 10:05 PM
Subject: [twsocket] How to use THttpCli with threads?
> Hi!
>
> I want use THttpCli within TTread, but when I close application it
eception with AV at address 0
> Code follow
>
> constructor TBaseThread.Create;
&g
Hi all,
I carefully reread a FAQ and see other scenario.
Divide process into two pieces, download information from WEB site into main
thread (ClientConnection) and run thread after data received only for database
work.
My application is NNTP server with downloading information from one site, pu
Hi!
I want use THttpCli within TTread, but when I close application it eception
with AV at address 0
Code follow
constructor TBaseThread.Create;
begin
inherited Create(False);
FreeOnTerminate := True;
HttpClient := THttpCli.Create(nil);
{
HttpClient.Agent := 'Anatoly Podgor
14 matches
Mail list logo