Solved

Difference between Win16 and Win32

Posted on 1999-01-23
2
2,377 Views
Last Modified: 2012-08-14
What is the difference between Win16 and Win32 ?
0
Comment
Question by:longlong
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 0 total points
ID: 1184969
The main difference is that win32 uses a flat protected mode memory model.  (This means that each program has access to a single address space (flat) and that the it cannot access other program's or the operating system's memory space (protected) ).  Win16 uses a segmented unprotected memory model.  This means a program's memory is made up of many memory segments and that a program can access the memory of another program.

That is the crucial difference.  Most of the other differences all derive from this.  For example, win 16 uses either 16 or 32 bit pointers (and rarely 48 bit), but win32 always uses 32 bit pointers.  This means that were changes because 16 pointers needed to be converted to 32 bit pointers.  Another change derived from this is that programs used to share data by simply copying memory from one program to another.  Since that is not allowed in win32, win 32 has provided ways to share data  (quite complex ones.)
0
 
LVL 22

Expert Comment

by:nietod
ID: 1184970
There are numerious other differences, as I said most of them were caused by the differences in memory.  However some are just simple improvements or changes to the windows API.  i.e win32 added many functions that win16 didn't have.  And removed some that are no longer needed.  For further study, I recomend you get a book on this subject.  There are a variety.  One I reomend is called "Porting to Win32" by Thomas Lauer.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question