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.

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to