Paradox Community

Items in pnews.paradox-programming

Subject:Re: SysInfo-WindowsVersion
Date:Fri, 3 Jun 2022 05:46:26 +0200
From:"Ivan" <ivan.moro@web.de>
Newsgroups:pnews.paradox-programming
Hi Kevin,

> p10 shows 6.2 on Windows 10 (clean install no upgrade)
>
>
> userSys["WindowsVersion"] is s string type, so no rounding.

OK, but P9 and P9R should "round" the same way ...

>
>
> Vista 6.0
> Windows 7 6.1
> Windows 8 6.2
> Windows 8.1 6.3

Hmmmm

Win 8    is V 6.2
Win 8.1 is V 6.3
and
Win 10  is V 6.2

Is Win 10 a downgrade?


Tom Krieg wrote:
> Try looking at
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

> Look at the value of ReleaseId (string)

I hope, there is one common entry for all WinVersions - at least since Win 
XP. Otherwise I have the same problem - how to find out on different 
WinVersion the right WinVersion if this depends on the WinVersion.

OK, I've looked for a registry solution.

On Win 10 there is a ReleaseID value 2009
Now I have running 2 other PCs. On Win Vista and Win 7 is no ReleaseID

But
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
contains a value CurrentVersion

On Win10 the Value is 6.3    (the next value)
On Vista is 6.0
On Win 7 is 6.1
...
I think the CurrenVersion value can be used for the WinVersion.

Thanks to all for the hints.

Ivan




> After First windows 10 the version was listed as a code.
>
> I wonder what Paradox is pulling...?
>
>
> You might be better off looking at something in the registry.
>
>
>
> "Ivan" <ivan.moro@web.de> wrote:
>>I use P9 on different WinVersions and check it with
>>SysInfo["WindowsVersion"].
>>
>>Now i see (on Win 10):
>>    P9    gets V 6.2
>>    P9 Runtime on the same PC    V 6.1
>>
>>Therefore I get different behavior, which does not depend on WinVersion,
>
>>but on P9 or P9R.
>>
>>Anyone know, why this is happening?
>>
>>Is it a bug and how can I fix it?
>>
>>Thanks
>>
>>Ivan
>>
>>
>>---
>>Diese E-Mail wurde von AVG auf Viren gepr=C3=BCft.
>>http://www.avg.com
>>
> 


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Copyright © 2004 thedbcommunity.com