Results 1 to 23 of 23

Thread: fill listbox

Threaded View

  1. #10
    Fanatic Member DrUnicode's Avatar
    Join Date
    Mar 2008
    Location
    Natal, Brazil
    Posts
    631

    Re: fill listbox

    Costly StrConv in Method 1, FindFirstFile/FindNextFile should not be used.
    That may make Method 1 appear slower than INameSpaceWalk in speed tests.

    This highly optimized sample code supports Unicode without the need of using byte arrays or StrConv.
    Note VarPtr(wFD) and Functions FindFirstFileW/FindNextFileW with ByVal lpFindFileData As Long.

    EnumFolders.zip
    Last edited by DrUnicode; Sep 26th, 2015 at 10:13 AM. Reason: Removed compiled Exe

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