Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Windows on Windows

From Wikipedia, the free encyclopedia
Discontinued subsystem for 32-bit Windows for running 16-bit Windows programs
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
icon
This articlerelies excessively onreferences toprimary sources. Please improve this article by addingsecondary or tertiary sources.
Find sources: "Windows on Windows" – news ·newspapers ·books ·scholar ·JSTOR
(October 2018) (Learn how and when to remove this message)
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Windows on Windows" – news ·newspapers ·books ·scholar ·JSTOR
(October 2018) (Learn how and when to remove this message)
(Learn how and when to remove this message)
This article is about the 16-bit subsystem in the 32-bit editions of Windows NT. For the 32-bit compatibility layer in the 64-bit editions, seeWoW64.
Windows on Windows
Other namesWOW
DeveloperMicrosoft
Initial releaseJuly 27, 1993; 32 years ago (1993-07-27)
Operating systemMicrosoft Windows
PlatformIA-32
TypeCompatibility layer
LicenseProprietarycommercial software

Incomputing,Windows on Windows (commonly referred to asWOW)[1][2][3] is a discontinuedcompatibility layer of32-bit versions of theWindows NT family ofoperating systems. Since 1993, with the release ofWindows NT 3.1, WoW extendsNTVDM to provide limited support for runninglegacy16-bit programs written forWindows 3.x or earlier. There is a similar subsystem, known asWoW64, on64-bit Windows versions that runs 32-bit programs.

This subsystem was retired with theend of support ofWindows 10 in October 14, 2025. The last version of Windows to include this subsystem is Windows 10, asWindows 11 (andWindows Server 2008 R2 and later) only run thex86-64 processor inlong mode and therefore cannot run 16-bit software without emulation software.

Background

[edit]

Many 16-bit Windows legacy programs can run without changes on newer32-bit editions of Windows. The reason designers made this possible was to allow software developers time to remedy their software during the industry transition fromWindows 3.1 toWindows 95 and later, without restricting the ability for the operating system to be upgraded to a current version beforeall programs used by a customer had been taken care of.

TheWindows 9x series of operating systems, reflecting their roots inDOS, functioned as hybrid 16- and 32-bit systems in the sense that the underlying operating system was not truly 32-bit,[citation needed] and therefore could run 16-bit software natively without requiring any special emulation;Windows NT operating systems differ significantly from Windows 9x in their architecture, and therefore require a more complex solution. Two separate strategies are used in order to let 16-bit programs run on 32-bit versions of Windows (with someruntime limitations). They are calledthunking andshimming.

Thunking

[edit]
Main article:Thunk § Interoperability

The WOW subsystem of the operating systemthunks legacy 16-bit APIs to their newer 32-bit equivalents[clarification needed] in order to provide support for 16-bitpointers, memory models andaddress space.

All 16-bit programs run by default in a singlevirtual DOS machine with shared memory space. However, they can be configured to run in their own separate memory space, in which case each 16-bit process has its own dedicatedvirtual machine. The separate memory space increases system stability by preventing buggy 16-bit programs from interfering with one another, at the expense of reduced 16-bitinter-process communication and increased memory utilization.

TheWOWEXEC.EXE process on aWindows NT system facilitates Windows-on-Windows.[4][5] In addition to Windows-on-Windows emulating theWindows 95 andWindows 98kernels, theWIN.COM file emulates aWindows 3.x kernel forNTVDM, which runs the 16-bit DOS-based Windows applications on Windows NT.

Shimming

[edit]
Main article:Shim (computing)

Application compatibility issues, notably aroundlong filenames, multiple users and the concept ofleast privilege, may prevent some applications from working. For example, they may incorrectly assume full write access to the wholefile system whereasNTFS security is in place.

When the Windows 95 line of operating systems was designed, a key requirement was for the file system to keepbackward compatibility with8.3 filenames to allow legacy applications to continue to work on the platform. Windows 95 and later operating systems therefore support a compatibility mode whereby both a long filename and a short filename are stored in thedirectory entry.

Furthermore, legacy applications that attempt to access hardware directly cannot do so inuser mode. Legacy applications may also fail if system configuration files from the DOS and Windows 9x era are not present in Windows NT based kernels, hence the reason for zero-length versions of files likeAUTOEXEC.BAT andCONFIG.SYS having to be carried forward on operating systems that do not use them.

A considerable number of shims are present in theapplication compatibility layer of later versions of Windows to intercept and modifyAPI calls made by legacy applications that were written with a different set of assumptions and operating system best practices in mind.[6] These fixes are updated from time-to-time as issues are discovered in popular legacy applications that are still in use.[7]

See also

[edit]
  • Wine (software)
  • OTVDM, a third-party project based on code from Wine which runs 16-bit Windows programs on 64-bit versions of Windows.

References

[edit]
  1. ^"WOW Environment Remains in Memory After Quitting 16-Bit Program".Support.Microsoft. February 22, 2007. Archived fromthe original on October 23, 2007. RetrievedFebruary 7, 2017.
  2. ^"Starting 16-Bit WOW Subsystem on Windows NT Server".Support.Microsoft. November 1, 2016. Archived fromthe original on May 9, 2007. RetrievedFebruary 7, 2017.
  3. ^"Disabling the MSDOS and WOWEXEC Subsystems on Terminal Server".Support.Microsoft. November 1, 2006.Archived from the original on January 13, 2008. RetrievedFebruary 7, 2017.
  4. ^"Windows NT Subsystems and Associated Files".Support.Microsoft. October 31, 2006. Archived fromthe original on March 16, 2007. RetrievedFebruary 7, 2017.
  5. ^"PRB: Relocation of Ntvdm.exe Fails on Multiprocessor Computers".Support.Microsoft. November 21, 2006. Archived fromthe original on February 22, 2009. RetrievedFebruary 7, 2017.
  6. ^"Application Compatibility".TechNet.Microsoft. RetrievedFebruary 7, 2017.
  7. ^"Application Compatibility Update for Windows 7 and Windows Server 2008 R2: August 2010".Support.Microsoft. August 24, 2010. RetrievedFebruary 7, 2017.

External links

[edit]
Management
tools
Apps
Shell
Services
File systems
Server
Architecture
Security
Compatibility
API
Games
Discontinued
Games
Apps
Others
Spun off to
Microsoft Store
Retrieved from "https://en.wikipedia.org/w/index.php?title=Windows_on_Windows&oldid=1324114637"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp