fortypoundhead.com

What are NTVDM and WOW?

Posted On 2005-11-1 by FortyPoundHead
Keywords:
Tags:  Windows 2000
Views: 3634


NTVDM stands for "NT Virtual DOS Machine". WOW stands for "Windows on Windows". They are both names for the same Win16 subsystem that runs under Windows NT, 2000, and XP.

The Win16 subsystem is an emulated DOS subsystem that runs under NT-based Windows operating systems. It allows 16-bit applications to run as if they were being executed on a DOS computer, with that computer's multitasking and segmented memory model. The subsystem is preemptively multitasked, so that 16-bit DOS and Windows applications cannot crash the operating system. Within the subsystem, however, applications behave exactly as they do on a DOS/Win 3.x computer, so 16-bit applications within a Win16 subsystem can crash one another or the Win16 subsystem.

To prevent 16-bit applications from crashing one another, you can launch multiple WOW subsystems. To do this, make certain that you specify the Run in Separate Memory Space option for the program's icon or shortcut; this will cause the application to run in its own WOW subsystem. Running 16-bit Windows applications in a separate memory space, however, has two possible disadvantages.

First, it uses more memory and system resources, which can reduce overall performance. Secondly, any 16-bit applications that use shared memory to communicate with one another will no longer function correctly with other integral 16-bit applications. In other words, if your 16-bit Windows application does not use either OLE or DDE to exchange information with other 16-bit applications, you may find that your program will no longer function usefully. If, however, your program does not communicate using shared memory, then you will find that this process prevents 16-bit applications from crashing one another.

Note: Windows NT, 2000, and XP will not allow the Win16 subsystem to execute instructions that attempt to directly manipulate hardware or memory locations. As a result, some DOS and Windows 3.x applications (such as games) may not run under Windows NT.


About the Author

FortyPoundHead has posted a total of 1974 articles.

 


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.224.30.39

Before you can post, you need to prove you are human. If you log in, this test goes away.



Recent Forum Posts

Fold Code Manager into main KB?
VB6Boy posted on July 22, 2017 at about 14:42 in Site News

Fold Code Manager into main KB?
dwirch posted on July 22, 2017 at about 14:41 in Site News

Fold Code Manager into main KB?
dwirch posted on July 21, 2017 at about 22:46 in Site News

Fold Code Manager into main KB?
dwirch posted on July 20, 2017 at about 7:55 in Site News

Job Spammer: Sam Mallon
dwirch posted on July 18, 2017 at about 18:36 in Spammers

When setting up a certificate authority ...
dwirch posted on July 13, 2017 at about 9:07 in General