NMS Posted Monday at 08:44 AM Posted Monday at 08:44 AM 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now