Solved

Difference between Win16 and Win32

Posted on 1999-01-23
2
2,361 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now