Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #9390
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: CAVO28 tip about manifest file in Win 10 Redstone |
| Date | 2016-05-31 17:17 +0200 |
| Message-ID | <dr5o81F7scaU1@mid.individual.net> (permalink) |
| References | <nihmgu$sal$1@dont-email.me> <dr5ku5F76t8U2@mid.individual.net> |
Hi Karl-Heinz, > 1. There´s a Set of Helperfunction to detect the OS-Version. > > https://msdn.microsoft.com/en-us/library/windows/desktop/dn424972%28v= > vs.85%29.aspx. > > Though there´s a macro to detect Win10 via "IsWindows10OrGreater" > the docs say: > > "Indicates if the current OS version matches, or is greater than, the > Windows 10 version.For Windows 10, IsWindows10OrGreater > returns false unless the application contains a manifest that > includes a compatibility section that contains the GUID that > designates Windows 10." > > funny .... I can confirm that this helper function returns incorrect values if the application is not manifested correctly. > 2. Use the RtlGetVersion() Kernel function: No matter if a app is > manifested or not. RtlGetVersion() returns the current OS: Cool! I don't knew this one! I'll have to try, thank you very much! Wolfgang --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
CAVO28 tip about manifest file in Win 10 Redstone "Jean Raymond" <jean_ray67@hotmail.com> - 2016-05-30 11:33 -0400
Re: CAVO28 tip about manifest file in Win 10 Redstone "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-05-31 07:44 +0200
Re: CAVO28 tip about manifest file in Win 10 Redstone "Karl-Heinz" <invalid@invalid.invalid> - 2016-05-31 16:19 +0200
Re: CAVO28 tip about manifest file in Win 10 Redstone "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-05-31 17:17 +0200
csiph-web