|
|
|
|
Hi,
I have a 32-bit application which calls Wow64DisableWow64FsRedirection first, then call GetOpenFileName to show a common file dialog, and GetOpenFileName fails on 64-bit Vista (RTM). If I remove the call to Wow64DisableWow64FsRedirection, GetOpenFileName shows file open dialog fine, but system32 was redirected syswow64 folder.
Does there anybody know how to turn off Wow64 file redirection on common file dialogs for 32-bit applications?
Thanks.
|
|
Thanks, the PDF describes the situation that I tried to avoid: is that possible for the 32-bit version of notepad.exe save a file into the real system32 folder?
With my test, if I disable Wow64 file redirection in 32-bit application, GetOpenFileName/GetSaveFileName fails with no error (even CommDlgExtendedError() returns 0 which is generic error).
I just didn't get it why common file dialogs fail if file redirection was disabled.
"Juergen Kluth" <JKluth[ at ]t-online.de> wrote in message news:O20WgJUnHHA.588[ at ]TK2MSFTNGP06.phx.gbl...
[Quoted Text]
|
|
|