Skip to content

Crashes in VB6 #41

@SanbiVN

Description

@SanbiVN

I used your code library in VB6. I encountered a crash issue.
I implemented the Dictionary object variable call through a recursive function.

Private Function PaneList(ByVal panes As Collection, Optional listed As Dictionary) As Integer
  Dim p, s$
  For Each p In panes
    s = ObjPtr(p)
    If Not listed.Exists(s) Then
       listed.Add s, ""
       PaneList p.panes, listed
    End If
  Next
End Function

My project has a large amount of source code, and I only encounter problems if I don't call your Dictionary class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions