Solved

Difference between W95/98 and NT

Posted on 1999-01-25
5
159 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
[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
  • 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

Suggested Solutions

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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 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 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…

752 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