Questions tagged [wow64]

WOW64 is a subsystem of 64-bit Windows. Add this tag for WOW64 related questions.

WOW64 (Windows 32-bit on Windows 64-bit) is a subsystem of the Windows operating system capable of running 32-bit applications on 64-bit Windows. It is included in all 64-bit versions of Windows.

166 questions
1
vote
1 answer

64/32 bit standard driver translation in Windows

The question is basically a follow up to this thread: Using a 64 bit driver in a 32 bit program. Windows As I learned when I have a 64 bit driver, which is used over a set of 64 bit DLLs I cannot have a 32 bit process calling the DLLs. We now use…
asdrubael
  • 483
  • 4
  • 9
  • 16
1
vote
2 answers

Why is the Windows ProductName different for 32 bit applications

I can read the Windows "product name" from the registry in C# using Registry.GetValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "ProductName", "" ) I am running a 64 bit version of Windows Pro, but from a 32 bit…
Phil Jollans
  • 3,605
  • 2
  • 37
  • 50
1
vote
1 answer

Executable "C:\Windows\System32\Fodhelper.exe" not found

I am trying to start the above builtin Windows executable from within a C++ program. Firstly I can confirm that the program does exist, at the path "C:\Windows\System32\fodhelper.exe" I have tried 3 different methods for running this…
RandomHash
  • 669
  • 6
  • 20
1
vote
1 answer

WOW64 - running powershell from within Visual Studio

Can someone please explain, simply, why it is necessary to go through so many hoops in order to run PowerShell (as an external command) from visual studio? I know it has to do with the bit differences but don't get why. The context is a 64 bit…
KyleM
  • 4,445
  • 9
  • 46
  • 78
1
vote
0 answers

solution using only-32bit dll and only-64bit dll

1) i am wanting to use a 32-bit dll that is not available as 64-bit dll 2) another constraint: Im wanting to also use another dll the 32bit version of which does not work in WOW64 so the second dll has to be included as native 64bit dll... what are…
Cel
  • 6,467
  • 8
  • 75
  • 110
1
vote
1 answer

Is it safe to use WM_COPYDATA between 64-and 32-bit (WOW64) apps?

There is a good SO Q/A session on the general use of WM_COPYDATA messages here, and a 'discussion' about whether or not this will work between apps of different 32/64-bitness here. However, the latter seems to be focussed on possible misuse of the…
Adrian Mole
  • 49,934
  • 160
  • 51
  • 83
1
vote
1 answer

How 32-bit application can run on 64-bit OS?

In Richter's "CLR via CSharp" book there is a following table explaining how application built in different ways will run on various versions on Windows. It says that application built with x86 platform switch will run on 64-bit OS as a WoW64…
Grigoryants Artem
  • 1,401
  • 2
  • 15
  • 32
1
vote
0 answers

How can a 32-bit and 64-bit app share an HKLM registry setting?

We have an Office .NET Add-In and the Add-In runs in the bitness of Office. So 32-bit Office on 64-bit Windows means the AddIn is 32-bit and therefore when querying the HKLM registry, the nodes are under HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node. We…
David Thielen
  • 28,723
  • 34
  • 119
  • 193
1
vote
1 answer

How to disable WOW64 file system redirection for GetModuleFileNameEx?

I'm running the following from a 32-bit process on a 64-bit Windows 10: #ifndef _DEBUG WCHAR buffPath[MAX_PATH] = {0}; FARPROC pfn = (FARPROC)::GetModuleHandleEx; HMODULE hMod = NULL; …
c00000fd
  • 20,994
  • 29
  • 177
  • 400
1
vote
1 answer

Why RegOpenKey() returning error 2 on 64 bit Win7

I've read this Question which appears to be duplicate of what I'm asking however I am actually asking WHY I'm seeing different Wow6432Node behavior on two different Win7 64 bit computers My VB6 32 bit application is trying to read a registry entry…
JonN
  • 2,498
  • 5
  • 33
  • 49
1
vote
2 answers

How to launch a Vb script that runs in 64 bit mode from a vbscript running under Wow64

I have a VB script that's being forced to run in Wow64 mode. I'd like to have it start either another script, or itself, in native 64 bit mode. Is there anyway to do that? The initial script is being called by an explicit call to cscript.exe (not…
Mark
  • 5,223
  • 11
  • 51
  • 81
1
vote
1 answer

Understanding an assembly header with CorFlags (why my assembly loads in 32-bit address space?)

I've found a fair bit of information related to how a .NET assembly should load based on the flags set in the assembly header. Pages such as Flipping bits on managed images to make them load with the right bitness... seem to suggest that if you have…
jmellor
  • 11
  • 2
1
vote
0 answers

powercfg returns different results depending on 32-bit vs. 64-bit version

I was trying to call powercfg tool from my 32-bit application running on a 64-bit version of Windows 8.1 using CreateProcess with the following command as lpCommandLine parameter: "powercfg -waketimers" It worked fine, except that purely by chance…
c00000fd
  • 20,994
  • 29
  • 177
  • 400
1
vote
2 answers

How can I start ServerManager.msc on a 64bit Windows Server 2008 from a 32bit .NET App?

I have the following scenario: - 64bit Windows Server 2008. - 32bit .NET application (needs to be x86 for various reasons). - I need to start ServerManager.msc from my .NET application. When using Process.Start("ServerManager.msc"), I get the…
mkva
  • 444
  • 1
  • 6
  • 13
1
vote
2 answers

query session not working when invoking cmd.exe from console app

query session does not work when using Any CPU or X86 target Platform , but works when using X64 platform. [TestMethod] public void TestMethod() { ProcessStartInfo info = new ProcessStartInfo("cmd.exe","/k query session"); Process proc = new…
virali
  • 53
  • 1
  • 5