[python-win32] python and wow64 filesystem redirection

Mike Driscoll mdriscoll at co.marshall.ia.us
Tue Jun 23 17:47:22 CEST 2009


Guy,
> Hi all,
>
> I have (2003/2008) x64 systems with 32bit python installed, and my 
> code needs access to %SystemRoot%\system32, but the wow64 filesystem 
> redirection thing is in my way.
> I looked from the *Wow64DisableWow64FsRedirection *function in the 
> win32 extensions, but I can't find it.
>
> So, my question is, if that function is implemented in the extensions 
> at all? is there another way to disable the redirection in python? or 
> do I need to write a binary module that disables/enables the redirection?
>
>
> Thanks in advance,
> Guy
>

The usual answer is that if PyWin32 doesn't wrap it, do it with ctypes. 
Sometimes Roger or one of the others has some special way of 
accomplishing the task though...

- Mike


More information about the python-win32 mailing list