forty7
May 23rd, 2001, 12:50 PM
I have a fixed array of objects (class I created) that I use in an Active X control. In the terminate event, I want to free the memory used by the array.
Currently, I'm using the Erase function. According to the VB help the Erase function "Sets each element to the special value Nothing." This sounds good, but what about the memory the array uses itself? Is this taken care of automatically, or should I Erase the array AND set it to nothing?
thanx/good luck,
adam
Currently, I'm using the Erase function. According to the VB help the Erase function "Sets each element to the special value Nothing." This sounds good, but what about the memory the array uses itself? Is this taken care of automatically, or should I Erase the array AND set it to nothing?
thanx/good luck,
adam