CHAFF Posted January 24, 2012 Share Posted January 24, 2012 Hi allHas anyone else encountered this failing with #AutoIt3Wrapper_UseX64=n ? But works with #AutoIt3Wrapper_UseX64=yOf course alg.exe can be any existing file in system32.#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseX64=n #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ;Autoit3 Ver 3.3.8.0 If FileExists("C:\windows\system32\alg.exe") Then MsgBox(4096, "", "Exists") Else MsgBox(4096, "", "Does NOT exist") EndIf Link to comment Share on other sites More sharing options...
Spiff59 Posted January 24, 2012 Share Posted January 24, 2012 It is a result of system file redirection between the system32 and SysWow64 folders.See here: http://msdn.microsoft.com/en-us/library/aa384187(v=vs.85).aspxOr this thread: Link to comment Share on other sites More sharing options...
CHAFF Posted January 24, 2012 Author Share Posted January 24, 2012 ahhh Thanks Spiff59 that explains DllCall("kernel32.dll", "int", "Wow64DisableWow64FsRedirection", "int", 1) Link to comment Share on other sites More sharing options...
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