Article ID: 210200 - Last Review: October 11, 2006 - Revision: 2.2 ACC2000: Sample Function to Determine Windows 95/98 or NT VersionThis article was previously published under Q210200 Advanced: Requires expert coding, interoperability, and multiuser skills.
SUMMARY
This article describes how you can use the GetVersionEx() Windows API function to determine the version number of the operating system (Microsoft Windows NT or Windows 95/98) running on the computer.
MORE INFORMATION
Although the GetVersion() function is still supported under Win32, it has been superseded by GetVersionEx(), which identifies Windows 95/98, returns more accurate information about the build of Windows, and no longer returns the version of MS-DOS. Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. The following example function demonstrates how to use the GetVersionEx() Windows API function:
| Article Translations
|
Back to the top
