Results 1 to 17 of 17

Thread: [VB6] - Hash-table

Threaded View

  1. #7
    Member Dragokas's Avatar
    Join Date
    Aug 2015
    Location
    Ukraine on fire (country of slaves)
    Posts
    750

    Re: [VB6] - Hash-table

    So, I propose to add 'mCount = 0' to:
    Code:
    Private Sub Class_Terminate()
        Erase List()
        mCount = 0
    End Sub
    So, both Keys() and Items() functions will return empty array:
    Code:
    Public Function Items() As Variant
    '...
    If mCount = 0 Then Items = Array(): Exit Function
    Code:
    Public Function Keys() As Variant
    '...
    If mCount = 0 Then Keys = Array(): Exit Function
    Last edited by Dragokas; Sep 27th, 2017 at 03:43 PM.
    Malware analyst, VirusNet developer, HiJackThis+ author || my CodeBank works

Tags for this Thread

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