Hello all,
I have a program that uses a few bitmap objects. I see that the program keeps on allocating memory as it runs. When I change the bitmaps I call the New methods again.
So the question is do the new methods allocate new object memory each time or does it just reinitialize the object and it's memory. I've been under the impression that it just reinitializes the object. Should I be just changing the .value method and avoid calling New over and over. This goes for all objects actually.
Thanks
I have a program that uses a few bitmap objects. I see that the program keeps on allocating memory as it runs. When I change the bitmaps I call the New methods again.
So the question is do the new methods allocate new object memory each time or does it just reinitialize the object and it's memory. I've been under the impression that it just reinitializes the object. Should I be just changing the .value method and avoid calling New over and over. This goes for all objects actually.
Thanks