verify a link
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/11/2002 at 02:44, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ;---------
how can i be sure a link is valid?
if i store a link in a container and later the object is deleted , the link is still pointing at the deleted object.
so if i then access i,e name=link->GetName() cinema will crash.
if i do if (link) name=link->GetName();
it still crashes cos the link exists in the container but has really been deleted
so i want to know , how can i verify 100% that a link pointer is still valid?
cheers
Paul -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/11/2002 at 04:24, xxxxxxxx wrote:
its ok , i sorted it.