x86 folder inside x64 distribution/installation #2347
Answered
by
dmex
Vasilich
asked this question in
Questions / Answers
-
What is the purpose of having x86 foldr inside x64 installation? I thought that if i use x64Windows and install x64 SI, then i don't need x86 binaries. But these are even get updated with update function. Am I wrong? Or is it just the current way the installer/updater works? |
Beta Was this translation helpful? Give feedback.
Answered by
dmex
Dec 28, 2024
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Vasilich
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Native API doesn't natively support the WoW64 (Windows 32-bit on Windows 64-bit) subsystem because of differences in the architecture and memory addressing between 32-bit and 64-bit.
A large amount of structures and system objects only exist in user mode where the WoW64 subsystem has a thunking layer for emulating 32-bit system objects on 64bit, such as the Thread Environment Block (TEB) and the Process Environment Block (PEB) while also intercepting 32-bit functions to convert objects/data from 32-bit to 64-bit before switching to long mode (native 64-bit) to continue execution.
It's easier to query 32-bit objects from 32-bit processes by compiling the exact same 64-bit code for 32-b…