On 09/22/2011 02:56 PM, Michael Schnell wrote:
IMHO the better way is to check if the object exists in the main
thread when called.
Obviously you need to use a procedure of some other object (e.g. the
thread itself) and (if necessary) provide the object i9n question (that
might be destroyed and NILled) as a parameter.
(BTW if the user programmer does not care for it there is no way to
detect if an object is destroyed. It would need to be NILled by same.So
a library function can't check this.)
-Michael
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus