![]() |
Was für ein Betriebssystem ist installiert?
Hallo zusammen,
ich möchte gerne auslesen ob es sich beim installierten Betriebssystem um Windows XP oder Windows NT 4 handelt. Bisher habe ich leider nur diese Funktion gefunden, aber da kann ich ja nicht eindeutig bestimmen obs nun XP oder NT 4 ist :evil: Hat da per Zufall jemand eine Lösung? :thumb:
Delphi-Quellcode:
function GetOperatingSystem: oOperatingSytemType;
var xOS : TOSVersionInfo; begin Result := WinUnKnown; try xOS.dwOSVersionInfoSize := sizeof(TOSVERSIONINFO); GetVersionEx(xOS); case xOS.dwPlatformId of VER_PLATFORM_WIN32s : Result := Win3x; VER_PLATFORM_WIN32_WINDOWS : Result := Win9x; VER_PLATFORM_WIN32_NT : result := WinNT; end; except end; end; |
Re: Was für ein Betriebssystem ist installiert?
Suchfunktion:
![]() |
Re: Was für ein Betriebssystem ist installiert?
|
Re: Was für ein Betriebssystem ist installiert?
Hallo zusammen,
danke für die prompte Hilfe! Mit Matzes Hinweis hab ichs hinbekommen, danke :cheers: |
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:53 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz