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
238
votes
5 answers

Why do 64-bit DLLs go to System32 and 32-bit DLLs to SysWoW64 on 64-bit Windows?

I would like to know when do we need to place a file under C:\Windows\System32 or C:\Windows\SysWOW64, on a 64-bits windows system. I had two DLL's, one for 32-bit, one for 64-bit. Logically, I thought I'd place the 32-bit DLL under…
Ganesh Astroved
  • 2,421
  • 2
  • 17
  • 9
195
votes
1 answer

Different results with Java's digest versus external utilities

I have written a simple Java class to generate the hash values of the Windows Calculator file. I am using Windows 7 Professional with SP1. I have tried Java 6.0.29 and Java 7.0.03. Can someone tell me why I am getting different hash values from…
Mike Viens
  • 2,467
  • 3
  • 19
  • 23
104
votes
6 answers

Reading 64bit Registry from a 32bit application

I have a c# unit test project that is compiled for AnyCPU. Our build server is a 64bit machine, and has a 64bit SQL Express instance installed. The test project uses code similar to the following to identify the path to the .MDF files: private…
David Gardiner
  • 16,892
  • 20
  • 80
  • 117
90
votes
7 answers

How much memory can a 32 bit process access on a 64 bit operating system?

On Windows, under normal circumstances a 32 bit process can only access 2GB of RAM (or 3GB with a special switch in the boot.ini file). When running a 32 bit process on a 64 bit operating system, how much memory is available? Are there any special…
jjxtra
  • 20,415
  • 16
  • 100
  • 140
62
votes
2 answers

VS2008: Unable to start debugging, Remote Debugging Monitor has been closed

I am getting a mysterious error from time to time that I just don't get. I can "fix" it by restarting Visual Studio 2008, but that isn't exactly a solution... It states the following: Error while trying to run project: Unable to start…
Svish
  • 152,914
  • 173
  • 462
  • 620
62
votes
4 answers

Reading the registry and Wow6432Node key

I have some code that reads the registry and looks for a value in HKEY_LOCAL_MACHINE\Software\App\ but when running on 64-bit versions of Windows the value is under HKEY_LOCAL_MACHINE\Software\Wow6432Node\App\. How should I best approach this? Do I…
Jade M
  • 3,031
  • 6
  • 26
  • 25
32
votes
5 answers

Why is RegOpenKeyEx() returning error code 2 on Vista 64bit?

I was making the following call: result = RegOpenKeyEx(key, s, 0, KEY_READ, &key); (C++, Visual Studio 5, Vista 64bit). It is failing with error code 2 ("File not found") even though "regedit" shows that the key exists. This code has always worked…
Tim Cooper
  • 10,023
  • 5
  • 61
  • 77
31
votes
4 answers

Avoid Registry Wow6432Node Redirection

I'm trying to insert some simple registry keys using Microsoft.Win32.RegistryKey in c# but the path automatically changes from: HKEY_LOCAL_MACHINE\SOFTWARE\Test to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Test I tried google but I only get some…
user1071461
29
votes
4 answers

How to open a WOW64 registry key from a 64-bit .NET application

My .NET application (any-CPU) needs to read a registry value created by a 32-bit program. On 64-bit Windows this goes under the Wow6432Node key in the registry. I have read that you shouldn't hard-code to the Wow6432Node, so what's the right way to…
marijne
  • 2,992
  • 5
  • 22
  • 21
23
votes
5 answers

How can I share HWND between 32 and 64 bit applications in Win x64?

MSDN tells me that handles to windows (HWND) can be shared between 32- and 64-bit applications, in Interprocess Communication (MSDN). However, in Win32 a HWND is 32 bits, whereas in 64 bit Windows it is 64 bits. So how can the handles be shared? I…
Marc Durdin
  • 1,675
  • 2
  • 20
  • 27
19
votes
3 answers

How to enum modules in a 64bit process from a 32bit WOW process

I have a requirement to retrieve all modules of a 64bit process in a 32bit WOW process in Windows, EnumProcessModules would fail as described: If this function is called from a 32-bit application running on WOW64, it can only enumerate the modules…
Baiyan Huang
  • 6,463
  • 8
  • 45
  • 72
14
votes
3 answers

Create 64 bit registry key (non-WOW64) from a 32 bit application

I have a Visual Studio installer that is creating some registry keys: HKEY_LOCAL_MACHINE\SOFTWARE\MyApp but the registry keys it is creating are automatically appearing under Wow6432Node: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MyApp How do I…
James Newton-King
  • 48,174
  • 24
  • 109
  • 130
12
votes
6 answers

Developing and debugging mem-hogging C# apps

I have a C# app that must link with a 32-bit library and also needs to use the maximum amount of memory possible (imaging app); we run the app on XP64 desktops, thus we are using WOW64, targeting builds in Visual Studio for x86 (and doing an editbin…
FrankD
9
votes
2 answers

Why would os.path.exists("C:\\windows\\system32\\inetsrv\\metaback") return False even when it exists?

I've got a python program which is supposed to clean up a number of directories and one of them is C:\windows\system32\inetsrv\metaback; however, os.path.exists() returns False on that directory even though it exists (and I have permissions to…
Jeff
  • 91
  • 1
  • 3
8
votes
3 answers

WOW64: get x64 %CommonProgramFiles% from 32 bit process

Queries I tried: ExpandEnvironmentStrings("%COMMONPROGRAMFILES%"), GetSpecialPath(CSIDL_PROGRAM_FILES_COMMON). All resolve to (typically) c:\\Program Files (x86)\\Common Files from my 32-bit app. I need to check a file version installed (typically)…
peterchen
  • 40,917
  • 20
  • 104
  • 186
1
2 3
11 12