CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: VB COM Testing

  1. #1
    Join Date
    Aug 1999
    Posts
    33

    VB COM Testing

    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.


  2. #2
    Join Date
    May 2002
    Location
    Lund, Sweden
    Posts
    9
    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

  3. #3
    Join Date
    Apr 2001
    Location
    Mississauga, CANADA
    Posts
    199
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured