Jump to content

Recommended Posts

Posted

The problem is when the constant $FLTAR_NOLINK is used in the function it errors out with code 9 - No files/folders found.

The comparison is between 3.3.16.1 and 3.3.18.0

In File.au3 the following lines were changed from
 

If $iHide_Link Then
    Local $tFile_Data = DllStructCreate("struct;align 4;dword FileAttributes;uint64 CreationTime;uint64 LastAccessTime;uint64 LastWriteTime;" & _
            "dword FileSizeHigh;dword FileSizeLow;dword Reserved0;dword Reserved1;wchar FileName[260];wchar AlternateFileName[14];endstruct")
    Local $hDLL = DllOpen('kernel32.dll'), $aDLL_Ret
EndIf

to

If $iHide_Link Then
;~  Local $tagWIN32_FIND_DATAW = "struct;align 4;dword FileAttributes;uint64 CreationTime;uint64 LastAccessTime;uint64 LastWriteTime;" & _
;~          "dword FileSizeHigh;dword FileSizeLow;dword Reserved0;dword Reserved1;wchar FileName[260];wchar AlternateFileName[14];endstruct"
    Local $tFile_Data = DllStructCreate($tagWIN32_FIND_DATA)
    Local $hDLL = DllOpen('kernel32.dll'), $aDLL_Ret
EndIf

I haven't tested with junction folders as this isn't a big deal for me since I don't use them so I just omit that constant now in this function.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...