Windows NT Systems Programming: Spring 1999

[ Home | Syllabus | Course Notes | Assignments | Search]


Lecture 1


Systems Programming in WindowsNT/95 (Win32)

From the programming point of view (ours in this course) Windows 95 == Windows NT Lite


What this Course is NOT!

 


Comparison Unix and Windows NT/95

Text

Function UNIX Windows NT/95
Basic OS Stuff (files/processes) Section 2 of Unix Programming Guides (UNIX Systems Calls) WIN32
Network Primitives UDP TCP/IP Sockets UDP TCP/IP Sockets
Named Pipes, Mailslots
GUI primitives none (use X windows) WIN32/MFC
Network Object Architecture none (use CORBA) DCOM (activeX)

 


Teaching Project

This course will be presented in the context of an increasingly elaborate "teaching project" which we will call the

NOMS (Network Object-Message Server)

Network: Because the world is becoming increasingly networked
Object: object-oriented implementation
Message: messages can be anything
Server: well - client server is OK

This project is to implement a message handling system with the following operations.


Dimensions of Complexity

User Interface:

Messages:

Network:

 


NOMS Versions

Version Number Properties Teaching Objectives
Version 0
  • No objects
  • No network
  • No editing
  • One file solution
  • Command line interface
  • Simple File Handling
Version 1
  • Message/folder objects
  • Object persistence
  • Multiple file solution
  • OO design/programming
  • Self-archiving objects
Version 2
  • Single Client/Server solution
  • TCP/IP sockets
Version 3
  • Multiple Clients
  • Threads
  • Synchronization
  • File Locking
Version 4
  • GUI interface
  • no network
  • MFC programming
  • edit objects
Version 5*
  • Menus
  • Dialogs
  • Explain the usual set of
    GUI design primitives
Version 6
  • reintroduce network
  • Document/View Architecture
Version 7
(time permitting)
  • Non-text messages
  • Multi-media support
Version 8
  • Distributed COM solution
    aka Active-X
  • RPC
  • MIDL
  • COMS
  • DCOM

 

 

 


Student Projects

I want you to help me and the class explore Windows NT environment.

 


A Brief History of Windows NT.

 


Windows NT Architecture

NTarch.jpg (13530 bytes)

User Mode

Kernel Mode

SMP = Symmetric MultiProcessing. NT can run on a single workstation with multi-processors, any thread any processor, shared memory and fine grained synchonization.


Operating Systems Essentials

 


 

Some Programming Conventions

 

 


Lots and Lots of Garbage

LeftOvers from DOS, Win16 and other upward compatibility junk.

 


 

 


Copyright chris wild 1999.
For problems or questions regarding this web contact [Dr. Wild].
Last updated: January 10, 1999.