PC Review


Reply
Thread Tools Rate Thread

WOW64 filesystem redirection for managed applications

 
 
Roshan
Guest
Posts: n/a
 
      12th Jun 2007
Hi,

I have a managed app which is compiled in VS2005 with platform target
"AnyCPU". However when running on a 64 bit platfrom, I notice that
when the app tries to access files under C:\Windows\System32, it is
being silently redirected to C:\Windows\SysWOW64. Also in task
manager, the process has a *32 in front of it indicating that its a 32
bit app, which explains the WOW64 redirection.

Is there a way to configure VS2005 so that the managed executable is
not flagged as a 32 bit app on 64 bit platforms? Since I am building
for both 32 bit and 64 bit platforms, I want to know if there is an
alternative to changing the platform target to x64.

Also is there a way to turn off WOW64 redirection from managed code? I
see 2 native methods to do this, Wow64DisableWow64FsRedirection and
Wow64RevertWow64FsRedirection. Is there a managed equivalent?

Thanks,
RB

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
WOW64 filesystem redirection for managed applications Roshan Microsoft Dot NET Framework 0 12th Jun 2007 09:48 PM
Registry Location for GPO managed applications installed on XP SP2 =?Utf-8?B?RXJpYyBIZWxh?= Microsoft Windows 2000 Group Policy 0 19th Jan 2006 12:36 AM
Automating Managed WinForms Applications.... Shamil Salakhetdinov Microsoft C# .NET 0 18th May 2005 10:44 AM
Wow64 redirection =?Utf-8?B?U3RldmUgVGVlcGxlcw==?= Microsoft C# .NET 3 3rd May 2005 03:18 AM
Managed DX C++.NET applications Jacky Luk Microsoft VC .NET 3 10th Apr 2005 01:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:21 AM.