1 Module 11 Supporting Applications
2 Overview Subsystems Overview Supporting Win32-based Applications Supporting MS-DOS-based and Win16-based Applications Supporting Applications in Other Subsystems Supporting Applications on Different Hardware Platforms Managing Applications Troubleshooting Application Problems
3 Subsystems Overview Kernel Mode Object Manager Security Reference Monitor Process Manager Local Procedure Call Facility Virtual Memory Manager Win32K Window Manager & GDI I/O Manager Graphic Device Drivers Device Drivers Executive Services Microkernel Hardware Abstraction Layer (HAL) Hardware Environment Subsystems Environment Subsystems Win32 Application Win32 Application OS/2 Application OS/2 Application Logon Process Logon Process CSR Subsystem CSR Subsystem OS/2 Subsystem OS/2 Subsystem Security Subsystem Security Subsystem POSIX Application POSIX Application POSIX Subsystem POSIX Subsystem User Mode
4 Supporting Win32-based Applications Win32-based Applications OLE and OpenGL DirectX Windows NT OLE OpenGL DirectX Win32-based Applications
5 Win32-based Application (For example, Setup) System Configuration File Modification File Decompression File Copying Multiple Threads
6 OLE and OpenGL OLE 2 Support for 16-bit and 32-bit applications Interoperability between Win16 and Win32 applications OpenGL Open 2-D and 3-D graphics libraries Independent of operating systems and hardware VGA 16- color mode supported
7 DirectX Windows NT 4.0 DirectX DirectDraw DirectSound DirectPlay
8 Supporting MS-DOS -based and Win16-based Applications The NT Virtual DOS Machine (NTVDM) Configuring the MS-DOS NTVDM WOW and Win16-based Applications Multiple NTVDMs Starting a Win16-based Application in Its Own NTVDM
9 The NT Virtual DOS Machine (NTVDM) NT Virtual DOS Machine (Ntvdm.exe) NT Virtual DOS Machine (Ntvdm.exe) Devices Windows NT 32-bit Device Drivers Windows NT 32-bit Device Drivers Virtual Device Drivers Ntdos.sys Ntio.sys MS-DOS Application
10 Configuring the MS-DOS NTVDM OK Cancel OKCancel Windows NT PIF Settings OK Cancel Compatible Timer Hardware Emulation Custom MS-DOS Initialization Files Autoexec Filename Config Filename %SystemRoot%\SYSTEM32\CONFIG.NT %SystemRoot%\SYSTEM32\AUTOEXEC.NT x ?
11 WOW and Win16-based Applications Thunk Devices Windows NT 32-bit Device Drivers Windows NT 32-bit Device Drivers NT Virtual DOS Machine (Ntvdm.exe) NT Virtual DOS Machine (Ntvdm.exe) Virtual Device Drivers Ntdos.sys Ntio.sys Wowexec.exe/ Wow32.dll Wowexec.exe/ Wow32.dll Win16 Application Win16 Application Krnl386.exe User.exe Gdi.exe WIN32 Thunk
12 Multiple NTVDMs WOWEXEC.EXE/ WOW32.DLL WOWEXEC.EXE/ WOW32.DLL Win16 Application Win16 Application KRNL386.EXE USER.EXE GDI.EXE NT Virtual DOS Machine Wowexec.exe/ Wow32.dll Wowexec.exe/ Wow32.dll Win16 Application Win16 Application Krnl386.exe User.exe Gdi.exe NT Virtual DOS Machine (Ntvdm.exe) NT Virtual DOS Machine (Ntvdm.exe) Virtual Device Drivers Ntdos.sys Ntio.sys Wowexec.exe/ Wow32.dll Wowexec.exe/ Wow32.dll Win16 Application Win16 Application Krnl386.exe User.exe Gdi.exe
13 Starting a Win16-based Application in Its Own NTVDM Type the name of a program. folder, or document, and Windows will open it for you. C:\WINDOWS\CALC.EXE Run in Separate Memory Space Open: Run OK CancelBrowse... ?
14 Supporting Applications in Other Subsystems Supporting OS/2-based Applications Configuring the OS/2 Subsystem The Windows NT Add-on Subsystem for Presentation Manager Supporting POSIX-based Applications
15 Supporting OS/2-based Applications NT Virtual DOS Machine (VDM) Windows NT Executive Services OS/2 Subsystem OS/2 Applications OS/2 & MS-DOS Bound Applications Intel x86-based Computers Alpha-, PowerPC-, MIPS-based Computers
16 Configuring the OS/2 Subsystem OS/2 Subsystem Configuration Files Config.sys Startup.cmd Changing the Subsystem Configuration: Edit Config.sys with an OS/2-based text editor Save changes and restart the computer The OS/2 subsystem will update the registry
17 The Windows NT Add-on Subsystem for Presentation Manager Add-on Subsystem for Presentation Manager Presentation Manager Applications Not Supported Windows NT Executive Services Presentation Manager Applications Intel x86-based Computers RISC-based Computers
18 Supporting POSIX-based Applications Windows NT Executive Services POSIX Subsystem POSIX - based Applications
19 Supporting Applications on Different Hardware Platforms HardwarePlatformHardwarePlatformWin32ApplicationsWin32Applications Windows 3.x and MS-DOS Applications Windows 3.x and MS-DOS ApplicationsPOSIXApplicationsPOSIXApplications OS/2 1.x Applications Applications Intel x 86 Source- compatible Source- compatible Binary- compatible Binary- compatible Source- compatible Source- compatible Binary- compatible RISC - Alpha MIPS PowerPC Source- compatible Source- compatible Binary- compatible Binary- compatible Source- compatible Source- compatible Binary-compatible (Bound Applications Only) Binary-compatible (Bound Applications Only)
20 Managing Applications Using the Command Prompt Configuring the Command Prompt Prioritizing Applications Changing Foreground Application Responsiveness Windows NT Task Manager
21 Using the Command Prompt Command Prompt Microsoft(R) Windows NT(TM) (C) Copyright Microsoft Corp. C:\>
22 Configuring the Command Prompt Selected Font: Terminal Each character is: 8 screen pixels wide 12 screen pixels high Lucidia Console Raster Fonts Font Bold Fonts T T 4 x 6 6 x 8 8 x 8 16 x 8 5 x 12 7 x 12 8 x x x 16 C:\WINNT> dir SYSTEM SYSTEM32 Window Preview Size OptionsFontLayout Colors Console Windows Properties OK CancelHelp
23 Prioritizing Applications Dynamic ApplicationsReal-Time Applications 16 Normal Normal Priority = 7 Dynamic Applications Use Priority Levels 1–15 Real-Time Applications Use Priority Levels 16–31
24 Changing Foreground Application Responsiveness Startup/Shutdown Hardware ProfilesUser Profiles General Performance Environment Select the performance boost for the foreground application. Boost: None Maximum Total paging file size for all disk volumes: 17MB Virtual Memory Application Performance System Properties OK CancelApply Change... ?
25 The Windows NT Task Manager File Options View Help ApplicationsProcesses Performance Handles 1704 Threads 122 Processes 15 Total Available 2216 File Cache 5068 Total Limit Peak CPU Usage CPU Usage History Memory Usage HistoryMEM Usage TotalsPhysical Memory (K) Total 5308 Paged 4260 Nonpaged 1048 Commit Charge (K) Processes: 15CPU Usage: 27% Mem Usage: 19656K / 26540K Windows NT Task Manager Kernel Memory (K)
26 Troubleshooting Application Problems MS-DOS-Based Applications That Write to the Hardware Win16 Virtual Device Drivers Win32-Based Applications Compiled for a Different Platform Presentation Manager Applications OS/2 Applications That Call PM APIs POSIX Applications That Call Unsupported APIs
27 Review Subsystems Overview Supporting Win32-based Applications Supporting MS-DOS-based and Win16-based Applications Supporting Applications in Other Subsystems Supporting Applications on Different Hardware Platforms Distributed Component Object Model (DCOM) Managing Applications Troubleshooting Application Problems