
Differences between Windows NT, 98 and 95.
Quote:
>Is there anyone out there who can help?. I am an embedded programmer who is
>developing a windows application to run on Windows NT, 98, 95.
>Could anybody tell me the differences between developing an MFC application
>for Windows NT, 98, and 95.
You've already go a lot of good advice here. Here's
an article from the MS web site:
http://msdn.microsoft.com/library/psdk/win95/chilimit_2y5v.htm
This details many of the limits in the Windows 95/
98 architecture.
and a brief note: almost all API calls documented under
platform SDK have a 'Requirements' section at the bottom,
(called QuickInfo in older versions) that tells you what
versions of what platforms support the call. Also note the
remarks and parameters sections; there are often
subheadings for platform differences, like so:
WriteFileEx
......
Parameters
hFile [in] Handle to the file to be written to. This file
handle must have been created with the
FILE_FLAG_OVERLAPPED flag and with GENERIC_WRITE
access to the file.
Windows NT/ 2000: This parameter can be any handle
opened with the FILE_FLAG_OVERLAPPED flag by
the CreateFile function, or a socket handle returned
by the socket or accept function.
Windows 95/98: This parameter can be a communications
resource opened with the FILE_FLAG_OVERLAPPED
flag by CreateFile, or a socket handle returned by socket
or accept. You cannot perform asynchronous write
operations on mailslots, named pipes, or disk files.
.........
Remarks
Windows 95/98: On this platform, neither WriteFileEx nor
ReadFileEx can be used by the comm ports to communicate.
However, you can use WriteFile and ReadFile to perform
asynchronous communication.
Requirements
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Winbase.h; include Windows.h.
Library: Use Kernel32.lib.