Solved

Difference between W95/98 and NT

Posted on 1999-01-25
5
158 Views
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
0
Comment
Question by:gavinpat
  • 3
  • 2
5 Comments
 
LVL 3

Accepted Solution

by:
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.


0
 

Author Comment

by:gavinpat
ID: 1185079
So what makes NT a more stable platform?
0
 
LVL 3

Expert Comment

by:PinTail
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.
0
 

Author Comment

by:gavinpat
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.
0
 
LVL 3

Expert Comment

by:PinTail
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()
0

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

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…
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 viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

679 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