Q
qwert
Hello,
I have multiple references to an object. Is it possible to destroy the
object using one of the references, and setting the rest of them to Nothing?
Dim objA as New A
Dim objAR As A
objAR = objA
objA = Nothing
REM Now the object is still alive.
Dim objA as New A
Dim objAR As A
KILL(objA)
If objAR is Nothing then blnGreat = True
Thanks.
I have multiple references to an object. Is it possible to destroy the
object using one of the references, and setting the rest of them to Nothing?
Dim objA as New A
Dim objAR As A
objAR = objA
objA = Nothing
REM Now the object is still alive.
Dim objA as New A
Dim objAR As A
KILL(objA)
If objAR is Nothing then blnGreat = True
Thanks.