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
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
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
> 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
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