Running 32-bit apps in x64 windows: Registry redirection

Source: Internet
Author: User

Brien m. Posey, contributor
10.04.2006

When a 32-bit application is run on top of an x64 version of Windows, the wow64 emulator redirects the Program Files folder and callto DLL files. but these aren't the only things that are redirected. the wow64 emulator also redirects certain portions of the Windows registry. this article will show you how registry redirection works.

The Windows registry is a file that contains the majority of the configuration data for the Windows operating system. the registry contains a huge variety of settings, but the configuration data that the wow64 emulator is most interested in is a list of all of the Component Object Model (COM) objects that have been registered by the operating system.

Com provides a way for applications (.exe files) and Libraries (. DLL files) to make themselves accessible to any com-compliant application or script. com makes it possible for someone with minimal programming skills to write an application or script that interacts with windows. the person writing the application or script can do so without having to learn a programming language such as C ++, and without having to learn all of the Windows application programming interfaces (APIS ).

Windows is designed so that all available COM objects are listed within the Registry. keep in mind, though, that 32-bit code must remain completely isolated from 64-bit code. as such, 32-bit and 64-bit COM objects are stored in two different parts of the Registry.

Before I show you how and where these COM objects are registered, you need to understand the difference between in-process and out-of-process servers. in Microsoft speak, a COM server is an object that makes its functionality available through COM. in contrast, the applications or scripts that make use of that functionality are called COM clients.

An in-process server usually refers to libraries (DLL files). Libraries are called in-process servers because they execute as a part of the same process as the application or script that Cal

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.