I seem to have problems using FreeAndNil under D7.
Using it with a TidFTP component that has been created manually, doing this
causes an access violation.
FreeAndNil(FTP);
I had to change it to.
FTP.Free;
FTP := nil;
Any ideas why this is?
Ross.
___
Luck. You have bigger problems.
On 20/04/2011 1:58 PM, "Ross Levis" wrote:
> I seem to have problems using FreeAndNil under D7.
>
>
>
> Using it with a TidFTP component that has been created manually, doing
this
> causes an access violation.
>
>
>
> FreeAndNil(FTP);
>
>
>
> I had to change it to.