Why copying to system32 automatically copies to sysWOW64 instead?
问题 I'm trying to copy a file to C:\windows\system32 by calling CopyFileA - debugging shows that indeed the string "C:\windows\system32\filename" is sent to CopyFileA, but my file is copied to "C:\windows\system32\sysWOW64\filename" instead. Does anyone know why does that happen? 回答1: On 64bit Windows, Windows does filesystem redirection for 32bit processes. To disable, call Wow64DisableWow64FsRedirection For the app to also run on 32bit Windows XP, Wow64DisableWow64FsRedirection must be