Einzelnen Beitrag anzeigen

Der schöne Günther

Registriert seit: 6. Mär 2013
6.156 Beiträge
 
Delphi 10 Seattle Enterprise
 
#10

AW: How to get Windows update number

  Alt 11. Apr 2017, 19:33
I understand - It's about GetVersionEx being deprecated. Sorry

According to MS, the preferred solution is to use VerifyVersionInfo which (for now) behaves exactly the same except it returns a boolean whether the operating system matches your expectations rather than returning numbers.
Note that the "manifest stuff" still applies to VerifyVersionInfo. It's just not "deprecated", that's all.

This is also what the helper macros use, and they have been around for quite some time now.
  Mit Zitat antworten Zitat