How To Determine the Operating System Build Number (188987)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
This article was previously published under Q188987 SUMMARY
Visual FoxPro's OS() function allows you to determine the major and minor
versions of the host operating system. To determine the operating system
build number programmatically, you must use the GetVersionEx() application
programming interface (API) call.
NOTE: The GetVersionEx() function, when run under Visual FoxPro 3.0 or 3.0b on 16-bit Windows, can return the Win32s version and build numbers.
REFERENCES
For additional information about checking system versions, please see the
GetVersion() and GetVersionEx() API documentation in the Windows System
Information section of the Platform SDK documentation.
Modification Type: | Minor | Last Reviewed: | 3/3/2005 |
---|
Keywords: | kbCodeSnippet kbhowto KB188987 |
---|
|