GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?
Christian Franke
Christian.Franke@t-online.de
Sat Mar 23 09:57:31 GMT 2024
On Mar 21 16:15, Corinna Vinschen via Cygwin wrote:
> On Mar 21 09:58, Christian Franke via Cygwin wrote:
>>>> ..
> I just gave it a try on W11. The results are even more funny than I
> anticipated:
>
> ...
>
> So, yeah, with your observations especially on older W10 versions and
> with 8.1 doing the same thing, I guess we can safely drop the extra call
> to RtlGetNtVersionNumbers now.
Or:
Keep RtlGetVersionNumbers, compare result with RtlGetVersion and emit
debug output if both differ. This would allow to diagnose a possible
future reappearance of the issue.
> After such a long time, I don't know
> on which version of Windows we observed the problem.
Some developer preview?
Meantime I also tested with Win10 1607, 1703, 1709, 1803 VM snapshots
with same result.
--
Regards,
Christian
More information about the Cygwin
mailing list