The question is “What is the way of finding the 圆4 Program Files directory from a 32-bit application?” Is writing an installer in the form of a 32-bit program that detects that it’s running on a 64-bit system and wants to copy files (and presumably set registry entries and do other installery things) into the 64-bit directories, but the emulation layer redirects the operations into the 32-bit locations. For example, if the program calls the GetSystemInfo function to see what processor is running, it will be told that it’s running on a 32-bit processor, with a 32-bit address space, in a world with a 32-bit sky and 32-bit birds in the 32-bit trees.Īnd that’s the point of the emulation: To keep the 32-bit program happy by simulating a 32-bit execution environment. If a 32-bit program tries to look at the system, it will see a 32-bit system. This emulation layer simulates the x86 architecture, virtualizing the CPU, the file system, the registry, the environment variables, the system information functions, all that stuff. On 64-bit Windows, 32-bit programs run in an emulation layer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |