Windowsのバージョン情報を下記で取得しています。
VistaのVersion Noがわかれば教えてください。
まだ、Vista機を購入していないので、質問です。
case Win32Platform of
VER_PLATFORM_WIN32_WINDOWS:
case Win32MinorVersion of
0:result := Win95;
10:result := Win98;
90:result := WinMe;
else result := Other end;
VER_PLATFORM_WIN32_NT:
case Win32MajorVersion of
3:result := WinNT3;
4:result := WinNT4;
5:case Win32MinorVersion of
0:result := Win2k;
1:result := WinXP;
else result := Other end;
else result := Other end;
else result := Other end;
VistaのMajorVersionは 6、Minorは 0。
もっと詳しくエディション分けたければ、
http://www.atmarkit.co.jp/fdotnet/dotnettips/553winver2deep/winver2deep.html
解決しました。
ありがとうございます。
ツイート | ![]() |