programing:cpp_builder:cpp_builder-get-windows-version
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン | |||
| programing:cpp_builder:cpp_builder-get-windows-version [2020/02/06 20:07] – [Windowsのバージョンを取得する] yoko | programing:cpp_builder:cpp_builder-get-windows-version [2026/07/28 13:16] (現在) – 外部編集 127.0.0.1 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | Windowsのバージョンを取得する | + | ====== |
| - | =========================== | + | |
| 最新のC++Builderでコンパイルすると、`GetVersionExW` 関数を使っていると以下の警告がでた。(今後推奨されない関数との事) | 最新のC++Builderでコンパイルすると、`GetVersionExW` 関数を使っていると以下の警告がでた。(今後推奨されない関数との事) | ||
| 行 10: | 行 9: | ||
| その対応について備忘録を残す。 | その対応について備忘録を残す。 | ||
| - | TOSVersion構造体を利用 | + | ===== TOSVersion構造体を利用 |
| - | --------------------- | + | |
| [[http:// | [[http:// | ||
| 行 28: | 行 26: | ||
| </ | </ | ||
| - | OSの識別 | + | ===== OSの識別 |
| - | -------- | + | |
| Windowsの各バージョンの値は次のようになっている。 | Windowsの各バージョンの値は次のようになっている。 | ||
| 行 47: | 行 44: | ||
| - | 参考 | + | ===== 参考 |
| - | ---- | + | |
| - | 1. [[https:// | + | - [[https:// |
programing/cpp_builder/cpp_builder-get-windows-version.1580987263.txt.gz · 最終更新: by yoko
