|
|
In kernel mode, any computer instruction is possible, whereas in user mode, application programs are protected from each other. Instructions are restricted and programs are not allowed to directly access each others memory. If a user mode application violates these rules, it is shut down by Windows and Dr. Watson appears.
Dynamic Link Libraries
In previous versions of Windows, installation programs would update Windows DLLs. If an updated DLL was incompatible with an existing program, then that program would no longer work properly. Reverting back to the old DLL may make the new program fail. This situation is commonly referred to as DLL hell. Microsoft's solution to this is WFP Windows File Protection and Application compatibility mode. Command Interpreters Windows provides two command interpreters. COMMAND.COM should only be used to provide compatibility for legacy applications. Use CMD.EXE for processing normal commands. It has more functionality and it takes less system overhead.
Legacy is the nice word for old DOS
Support for 16-bit applications can be disabled by disallowing access to the NTVDM.EXE file.
To run a 16-bit application in its own separate memory space with an independent NTVDM, check the option in the Advanced Properties of the application shortcut as shown in the following dialog.
Launch COMMAND.COM and then use Task Manager to find the NTVDM process. If you launch an old Win16 16-bit Windows application, you will also see WOWEXEC as in the following dialog. Note how WOWEXEC and the Win16 winmin.exe are indented in the processes list. Windows Management Instrumentation WMI can provide detailed information on the internals of Windows, hardware, drivers, services, security, applications, processes, file systems, networks, etc. WMI provides information in a tree structured namespace as shown in the following dialog. Microsoft provides an object interface to WMI so that script writers can get access to internal statistics.
| |||||||||||||||||||||||||||||||||||||||||||||||
|
|