Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the operating system
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00307402
Message ID:
00307890
Views:
21
>>>Ed,
>>>
>>>Could GetVersionEx() be of any use here?
>>
>>Distinguishing between NT versions, no, since the code base is identical, and the extended OSVERSIONINFOEX structure is only implemented in Win2K. Take a look at the MSDN doc for the lpVersionInfo parameter to see what has to be done differently.
>
>I was thinking about the szCSDVersion member of OSVERSIONINFO structure. I hadn't looked at that member yet and thought you might have.

From the MSDN:

szCSDVersion
Windows NT/2000: Contains a null-terminated string, such as "Service Pack 3", that indicates the latest Service Pack installed on the system. If no Service Pack has been installed, the string is empty.
Windows 95/98: Contains a null-terminated string that provides arbitrary additional information about the operating system.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform