Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Windows 64bit > GetOpenFileName failed after Wow64DisableWow64FsRedirection

Reply
Thread Tools

GetOpenFileName failed after Wow64DisableWow64FsRedirection

 
 
Xiao, Li
Guest
Posts: n/a
 
      05-22-2007
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.

 
Reply With Quote
 
 
 
 
Xiao, Li
Guest
Posts: n/a
 
      05-23-2007
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" <> wrote in message
news:...
>i googelt it :
> http://www.64advantage.com/files/64-...0Issue%205.pdf
> regards jk
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win32API GetOpenFileName - filter problem Szabolcs Toth Ruby 2 10-13-2008 02:04 PM
Win32API GetOpenFileName called successful, but no dialog appear,why? yang cao Ruby 0 04-09-2007 04:21 PM
GetOpenFileName failed after Wow64DisableWow64FsRedirection Famel Windows 64bit 0 11-09-2006 08:54 PM
Errors: Failed to load viewstate. & Validation of viewstate MAC failed. sck10 ASP .Net 6 09-01-2006 05:59 PM
QueryInterface for interface Excel._Application failed / QueryInterface for interface Word._Application failed SOLUTION Wildepiet ASP .Net 0 06-14-2004 07:28 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57