![]() |
How to get Windows update number
How to get Windows 8+ version number? I don't mean TOSVersionInfoEx.dwMajorVersion/TOSVersionInfoEx.dwMinorVersion but something like 1511 or 1607 on Windows 10 :?: This looks to be update version, I don't know how to name it exactly :?
And also I see in system info build number like this: (TOSVersionInfoEx.dwBuildNumber).953. Where to find the number after dot :?: |
AW: How to get Windows update number
I'm not sure but I think you have to get the version string from registry and parse it yourself.
|
AW: How to get Windows update number
Zitat:
![]() You will have to include the manifest stuff from that page into your application. Then
Delphi-Quellcode:
will return the true build number.
GetVersionEx(..)
|
AW: How to get Windows update number
|
Re: How to get Windows update number
Yeah, with manifest old functions are working. But how to get OS version without manifest (I think check some file version from system is not real solution)?
BTW: if functions are deprecated, so why Delphi still uses it?:o:shock: "Update number" I got from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion: ReleaseId, but I think this is not real solution too. Some ideas:?: |
AW: How to get Windows update number
Zitat:
Normally the version number is written in registry. If not, the user changed it for sure and this is not the problem of a program creator. |
AW: Re: How to get Windows update number
Zitat:
|
Re: AW: Re: How to get Windows update number
Zitat:
|
AW: How to get Windows update number
Zitat:
|
AW: How to get Windows update number
I understand - It's about GetVersionEx being deprecated. Sorry :oops:
According to MS, the preferred solution is to use ![]() Note that the "manifest stuff" still applies to VerifyVersionInfo. It's just not "deprecated", that's all. This is also what the ![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:52 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