Re: [twsocket] HTTPCli check if rcvdstream is created?

2006-06-29 Thread Waldemar Łukaszewski
Thanx for the lesson! :D Dnia 29-06-2006 o godz. 19:19 Arno Garrels napisał(a): > > This is Delphi for kids, first lesson! > MINISTERSTWO ANGIELSKIEGO HUMORU przedstawia: W odległej galaktyce, trzy miliony lat świetlnych stąd Serial "Czerwo

Re: [twsocket] HTTPCli check if rcvdstream is created?

2006-06-29 Thread Arno Garrels
Waldemar Lukaszewski wrote: > So when its set to nil before (after) freeing, i can just check if > rcvdstream is nil ? And if it exists it wont be nil? This is Delphi for kids, first lesson! MyObject.Free; // free the instance of TMyObject MyObject := nil; // set the variable/pointer to nil

Re: [twsocket] HTTPCli check if rcvdstream is created?

2006-06-29 Thread Waldemar Łukaszewski
So when its set to nil before (after) freeing, i can just check if rcvdstream is nil ? And if it exists it wont be nil? Dnia 29-06-2006 o godz. 17:41 Francois PIETTE napisał(a): > > Is there any function to check if RcvdStream is created? My > application > > creates stream, but sometimes you

Re: [twsocket] HTTPCli check if rcvdstream is created?

2006-06-29 Thread Francois PIETTE
> Is there any function to check if RcvdStream is created? My application > creates stream, but sometimes you can call abort function before creating > the stream... i need to check if it was created, and if not, exit off > OnRequestDone event. Just make sure you set RcvdStream to nil each time

[twsocket] HTTPCli check if rcvdstream is created?

2006-06-29 Thread Waldemar Łukaszewski
Is there any function to check if RcvdStream is created? My application creates stream, but sometimes you can call abort function before creating the stream... i need to check if it was created, and if not, exit off OnRequestDone event. Thanx for help! WJ