#195681 - 2009-08-30 02:21 PM
Re: [Bug-Report Kix 4.60] x64 - WOW64FileRedirection does not trigger
[Re: Allen]
|
Ruud van Velsen
Developer
   
Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
|
Hi Allen,
ah... as it happens, the drivers\etc directory is excluded from the wow64 File Redirection feature, as documented here: http://msdn.microsoft.com/en-us/library/aa384187(VS.85).aspx
It's actually kinda tricky to see the file redir feature in action. One way to see it, is by for example checking the file size of USER32.DLL. This is present both in SYSTEM32 and SYSWOW64, but of a different size.
So if you run this bit of script, you should see some real results:
------------------------------- $file = "user32.dll"
? "Default Wow64FileRedirection Setting=" + SETOPTION("Wow64FileRedirection") ? $file + " = " GetFileSize("%systemroot%\system32\" + $file)
$RC=SETOPTION("Wow64FileRedirection","OFF") ? "Wow64FileRedirection Setting=" + SETOPTION("Wow64FileRedirection") ? $file + " = " GetFileSize("%systemroot%\system32\" + $file)
$RC=SETOPTION("Wow64FileRedirection","ON") ? "Wow64FileRedirection Setting=" + SETOPTION("Wow64FileRedirection") ? $file + " = " GetFileSize("%systemroot%\system32\" + $file) ------------------------------
Btw: I have fixed the default setting in the latest build (Rc2), as that was indeed wrong.
Ruud
|
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 323 anonymous users online.
|
|
|