如何检查delphi的操作系统版本? Windows 7或Server 2008 R2? [英] How to check in delphi the OS version? Windows 7 or Server 2008 R2?
本文介绍了如何检查delphi的操作系统版本? Windows 7或Server 2008 R2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直用来检查Windows版本的主要/次要版本号。奇怪的是,Windows 7和Server 2008 R2都返回相同的主要/次要版本号组合。
I always used to check the windows versions by their major/minor build numbers. Strangely enough, Windows 7 and Server 2008 R2, both return the same major/minor version number combination.
通过键入 ver $确认c $ c>进入命令提示符
Confirm this by typing ver
into a command prompt
推荐答案
GetVersionEx。有一个版本号及其相关版本的图表 here 。请注意,2008 R2和Windows 7之间的产品类型不同。
GetVersionEx. There is a chart of the version numbers and their associated editions here. Notice that the product type is different between 2008 R2 and Windows 7.
这篇关于如何检查delphi的操作系统版本? Windows 7或Server 2008 R2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文