Is object clearing/array deallocation really necessary in VB6/VBA (Pros/Cons?)

前端 未结 5 2461
暗喜
暗喜 2021-02-20 12:33

A lot of what I have learned about VB I learned from using Static Code Analysis (Particularly Aivosto\'s Project Analyzer). And one one of things it checks for is whether or not

5条回答
  •  太阳男子
    2021-02-20 13:09

    Yes, set all objects to Nothing and clean up as much as you can. VB6 is notorious for having memory leaks when not cleaning up your stuff. Garbage collection was sub-par in VB6/VBA.

提交回复
热议问题