Board index » delphi » How to tell Pointer is to stale?

How to tell Pointer is to stale?

Is there a function to check if a pointer is stale?

 

Re:How to tell Pointer is to stale?


Quote
In article <34E90C87.1DD35...@hawaii.edu> Rod Gammon <gam...@hawaii.edu> writes:
>Is there a function to check if a pointer is stale?

No, an address is an address.  As soon as the object is freed, make it a
discipline to set all pointers to nil.

Other Threads