Ontosy Posted January 3, 2016 Posted January 3, 2016 (edited) I try to transpose this function with this structure.But it not work. it return a "2". Ho to do?Func FbwfFindNext($log=false) local $size=68, $FbwfCacheDetail $FbwfCacheDetail=DllStructCreate("ULONG cacheSize; ULONG openHandleCount; ULONG fileNameLength; WCHAR fileName[1];") local $Ret=DllCall("fbwflib.dll", "ULONG", "FbwfFindFirst", "wstr", "C:", "ptr", DllStructGetPtr($FbwfCacheDetail), "ULONG*", $size) local $fn=DllStructGetData($FbwfCacheDetail, "fileName") msgbox(0,$ret[2],$fn) EndFunc Edited January 3, 2016 by Ontosy
JohnOne Posted January 3, 2016 Posted January 3, 2016 Need to fix your links. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Ontosy Posted January 3, 2016 Author Posted January 3, 2016 (edited) Links fixed, ty. Edited January 3, 2016 by Ontosy
JohnOne Posted January 3, 2016 Posted January 3, 2016 Try removing trailing semi colon.DllStructCreate("ULONG cacheSize; ULONG openHandleCount; ULONG fileNameLength; WCHAR fileName[1]") AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
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