Jump to content
robertjohns

Wow64EnableWow64FsRedirection

Recommended Posts

Hello

 

I am trying to check file existence in both directories  c:\windows\system32 and  c:\windows\syswow64  

I tried to use Wow64EnableWow64FsRedirection true and false method,

when I do not use Wow64EnableWow64FsRedirection method I get c:\windows\syswow64

but when I use Wow64EnableWow64FsRedirection(False); I get c:\windows\system32

but issue is when I use Wow64EnableWow64FsRedirection(True); I do not get c:\windows\syswow64

 

I am actually trying

 

On Disable, c:\windows\system32
On Enable, c:\windows\syswow64

Share this post


Link to post

I can't make any sense of this. Maybe an complete but minimal program would help, and knowledge of whether your process is 32 or 64 bit. Also, do you know about sysnative? 

Share this post


Link to post

Per the documentation, Wow64EnableWow64FsRedirection() is deprecated, you should be using Wow64DisableWow64FsRedirection() and Wow64RevertWow64FsRedirection() instead.

Share this post


Link to post

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

×