Solved

Difference between Win16 and Win32

Posted on 1999-01-23
2
2,394 Views
Last Modified: 2012-08-14
What is the difference between Win16 and Win32 ?
0
Comment
Question by:longlong
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

730 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