If I have a procedure as follows:
Private sub DoSomethingWithMe(byref objMyThing as clsCool)
objMyThing.IsCool = True
End Sub
Does VB Increment the link counter in the object.
And if so does it decrement it on exit as well?
Or should the procedure be like this?
Private sub DoSomethingWithMe(byref objMyThing as clsCool)
objMyThing.IsCool = True
Set objMyThing = Nothing
End Sub
-Bo Flexson
Private sub DoSomethingWithMe(byref objMyThing as clsCool)
objMyThing.IsCool = True
End Sub
Does VB Increment the link counter in the object.
And if so does it decrement it on exit as well?
Or should the procedure be like this?
Private sub DoSomethingWithMe(byref objMyThing as clsCool)
objMyThing.IsCool = True
Set objMyThing = Nothing
End Sub
-Bo Flexson