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
2
votes
3 answers

Cannot find java.exe when run from a .bat file launched via VBA

I have a script.bat which looks like this: c:\windows\system32\java.exe -version pause If I run the script from a command window, it works fine, and outputs the Java version information: java version "1.6.0_45" Java(TM) SE Runtime Environment…
Matt R
  • 9,892
  • 10
  • 50
  • 83
2
votes
1 answer

How do I prevent my Win32 process starting on WOW64?

I've got a Win32 process that is compiled and packaged in both 32-bit (x86) and 64-bit (x64) variants. I'd like the x86 variant to refuse to run on a 64-bit version of Windows (i.e. WOW64). Is there any way to do this by setting linker flags? If…
Roger Lipscombe
  • 89,048
  • 55
  • 235
  • 380
2
votes
2 answers

Running System32 programs instead of SysWOW64 when launching from MINGW

I'm trying to create EXE files from a shell script file I'm launching from minggw (used from git bash) My problem is when I run these commands: C:/Windows/system32/iexpress.exe //N C:\\git\\install_64bitWindows.SED C:/Windows/SysWOW64/iexpress.exe…
MangO_O
  • 393
  • 1
  • 3
  • 15
2
votes
2 answers

Writting settings to the registry, shared by x64 and x86 apps (bypassing registry redirection)

I want to write application settings in the registry, that are shared by x86 and x64 applications running on Windows 7 x64. The best practice is to save them in HKEY_LOCAL_MACHINE\Software\Company\Product, but that gets redirected when in WOW64. Can…
Nestor
  • 13,706
  • 11
  • 78
  • 119
2
votes
2 answers

Getting executable file name from handle in Windows x64

I have a c# application that is compiled as x86 so it runs as a 32bit application on Windows 7 x64. While the application is running, I need to detect the executable name of the active window. On Winodws XP the following code worked fine (getting…
Andrea Nagar
  • 1,233
  • 2
  • 13
  • 23
2
votes
2 answers

SHGetSpecialFolderPath, how to access 64bit CSIDL from 32bit application

Is there a way from a 32bit application running on a 64bit system to have access to the default folders for 64bit applications? For example, using SHGetSpecialFolderPath with CSIDL_PROGRAM_FILES from a 32bit application returns "C:\Program Files…
Daniel Lopez
  • 3,297
  • 2
  • 30
  • 29
2
votes
2 answers

Why would an access to the 32-bit view of HKEY_CURRENT_USER registry hive fall back to 64-bit view?

My 32-bit application is running on 64-bit Windows 7. I am trying to access the registry HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall. I can see in regedit that I have several subkeys below the Uninstall key in the default…
windfly2006
  • 1,703
  • 3
  • 25
  • 48
2
votes
3 answers

How to uninstall IIS 7 under WOW64?

In a Web server installer that I'm maintaining, we keep track of whether or not the installer had installed IIS 7 and/or ASP (under Vista or later) and save an appropriate value to the Registry if so. During an uninstall, if that value is there and…
RobH
  • 1,607
  • 2
  • 24
  • 44
2
votes
1 answer

PostMessage params from 32-bit C# to 64-bit C++

I am having problem with the contents of a pointer passed as the wParam from a 32-bit C# application is changing along the way to a 64-bit C++ process. There are two processes 32.exe (in C#) and 64.exe (in C++). 64.exe is started as a child process…
Vegard Larsen
  • 12,827
  • 14
  • 59
  • 102
2
votes
1 answer

IsWow64Process PROCESS_QUERY_INFORMATION check on process handle

Simple question, but is there a win32 API call to retrieve if a process handle has the PROCESS_QUERY_INFORMATION access flag in order to successfully call IsWow64Process? AccessCheck Function - MSDN seems like it'd work but I'm not sure if that's…
Qix - MONICA WAS MISTREATED
  • 14,451
  • 16
  • 82
  • 145
2
votes
1 answer

Automation / WinAPI calls betwenn 64bit and 32bit application

We have an automation scenario (mostly MSUIA) between 2 application, the target is 32bit, my app (the automating one) is 64bit, on a 64bit win7. Some of the information that needs to be shared has to be accessed through direkt Win SDK calls (like…
Andreas Reiff
  • 7,961
  • 10
  • 50
  • 104
1
vote
3 answers

I can't build a library that needs WOW64 Api

I'm fixing a bug with Windows Vista 64 bits of a 32bit application, when I try to use the function Wow64DisableWow64FsRedirection(...) the compiler says 'undeclared identifier...'. I'm including the Windows.h header file and set _WIN32_WINNT to…
Jesus Fernandez
  • 1,170
  • 2
  • 10
  • 23
1
vote
0 answers

SetWindowsHookEx to block 64-bit WM_HOTKEY from 32-bit

Our application requires running in a "secure kiosk mode" on Windows. We have a variety of ways we block various actions. One thing that we do is listen for the use of hotkeys using SetWindowsHookEx to register a WH_GETMESSAGE hook, then when a…
GDefender
  • 511
  • 5
  • 10
1
vote
1 answer

Is ODBC / Win7 64-bit / Excel 2010 64-bit limited to 255 columns?

I'm using ODBC to write to an XLSB file. Am I limited to 255 columns (or somewhere close to that)? When I try to write 500 columns I get the following error: HY001 -1040 [Microsoft][ODBC Excel Driver] Too many fields defined. Perhaps I have the…
Suraj
  • 35,905
  • 47
  • 139
  • 250
1
vote
0 answers

Is it still true that there is no need in x64 version if the app is stand-alone and won't benefit from being 64-bit?

Since Windows Server 2008 R2, WoW64 is an optional feature which can be uninstalled. It means that it is possible to have 64-bit only server, that cannot execute 32-bit code. I'm trying to think about any possible benefit from disabling/uninstalling…
haimg
  • 4,547
  • 35
  • 47