Click to See Complete Forum and Search --> : VB COM Testing


amitrgholap
July 16th, 2001, 05:51 AM
Hi,
Can any one tell me some good testing tools for VB COM?
Also, can one please elaborate where can the pitfalls in a VB COM be?
Also can one one send me a sample code in which there is a memory leak in VB? (ie how to create a memory leak in VB programme)
Thanx in advance,
Regards,
~A.

ask60
August 20th, 2002, 07:49 AM
Create 2 classes: CParent and CChild.
CParent has a property Child and CChild has a property Parent, i.e.:

set objParent.Child = objChild
set objChild.Parent = objParent

and then you can not free-up memory:

set objParent = Nothing
set objChild = Nothing

praymond
August 20th, 2002, 08:03 AM
Can any one tell me some good testing tools for VB COM?Microsoft includes some testing tools with the VB install. A great tool to test apps etc... is provided with the Microsoft Logo Certification program http://msdn.microsoft.com/certification/ . Although there is independant testing available, they also provide a couple of apps to allow initial testing of your apps at your own workplace.
Paul