Hi.. can you please identify some of the common memory
leaks in Visual Basic programs?
I have found the one of winsock ctrl in Microsoft's KB.
I also know how to correctly unload all objects...
Any other sources?
Thank you in advance!
Printable View
Hi.. can you please identify some of the common memory
leaks in Visual Basic programs?
I have found the one of winsock ctrl in Microsoft's KB.
I also know how to correctly unload all objects...
Any other sources?
Thank you in advance!
When assigning an object reference to a variable be sure to correctly destroy that object to avoid memory leaks
Code:Set myForm = New Form1
'clearing memory
Set myForm = Nothing
The stop button can be a huge memory leak, same goes for End statement