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