Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Difference between Win16 and Win32

Posted on 1999-01-23
2
Medium Priority
?
2,463 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
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 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.

636 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