Difference between W95/98 and NT

Posted on 1999-01-25
Last Modified: 2010-04-16
What are the main differences between programming for windows 95 and NT? In visual c++ I don't seem to have to do anything other than specify which platform I want my executable for. I would like to train myself into NT, do I have to make any major changes to my programming style
Question by:gavinpat
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
  • 3
  • 2

Accepted Solution

PinTail earned 50 total points
ID: 1185078
In general any program written for 32bit Windows (Win95/Win98) will work under NT.  There are some API differences which may cause unexpected results ( you can usually see these differences by checking the help for a particular API function.)  In general the NT API has more functionality, especially related to Security, Networking, and Process and Thread control.


Author Comment

ID: 1185079
So what makes NT a more stable platform?

Expert Comment

ID: 1185080
Well, I think the main thing is that NT has dedicated process address space.  This means that a well behaved application has no way to corrupt another applications memory.  The reality is a little different since it is possible to write a program which 'injects' itself into another processes address space, but you would have do do this sort of thing intentionaly.

Author Comment

ID: 1185081
Sounds good, does that mean that the heap is divided into individual sections for each process then? I thought that windows 95 already had this, well thanks for the input, I will have to go and read more on this obviously.

Expert Comment

ID: 1185082
Yes, the heap is process specific, which is why if create a process, and are really carefull, you can step into the C-Runtime code and see a call to GetProcessHeap() and HeapAlloc()

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
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.

615 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