473,322 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

WOW64 filesystem redirection for managed applications

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

Jun 12 '07 #1
0 1339

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Matthias | last post by:
Hi, I am currently writing a gtkmm component which acts as a file browser, much like a small filemanager which can be embedded in gtkmm applications as a scrolled window. I have just...
2
by: Nadav | last post by:
Hi, Introduction: *************** I am trying to redirect stdout to a RichEdit control, this is done by initiating a StringWriter, associated it with a StringBuilder and setting the...
12
by: doug | last post by:
I understand the basics of what managed code offers and that you open yourself up to security issues if you allow unmanaged code. We already have a decent amount of VB6 code to include COM DLLs. ...
0
by: SoWright | last post by:
I am running a 32bit VB .Net application in Windows Server 2003 64bit edition. The application uses the function System.IO.File.Exists() to check the existance of a file in the directory...
3
by: Kush | last post by:
Hi. I want to increase the SMS filesystems (two). Not having done this before, I am not too sure about any possible consequences. From my reading the planning guide, it seems I can simply add...
2
by: gfaraj | last post by:
Has anyone tried to use Boost.Filesystem with C++/CLI? I'm trying to get some code that worked correctly in my native application to work on my C++/CLI program. The code is in a header file in a...
12
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I am using .Net 2.0, writing a directory on a network share using My.Computer.FileSystem.CreateDirectory. This works fine as long a USERS have full share permissions on that directory. My...
33
by: rvj | last post by:
if you redirect on an IIS , must the client url address bar always be updated with the new address. what options are? Q1 if a user requests http://old.com , is there a method of ASP...
66
by: John | last post by:
Hi What are the advantages actually achieved of managed code? I am not talking of theory but in reality. Thanks Regards
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.