Dialog.windows10

Dialog.windows10

Postby Ivan Denisov » Tue Jun 27, 2017 7:15 pm

I suggest to add
windows10 and windows8_1 to Dialog constants.
User avatar
Ivan Denisov
 
Posts: 215
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: Dialog.windows10

Postby Zinn » Wed Jun 28, 2017 5:28 pm

Dear Ivan,
that is not an easy task. Currently I recommend not to do it.
Here is a test program about to detect the windows version.
It must be change every year.
Any improvement are welcome.
- Helmut
Code: Select all
StdCoder.Decode ..,, ..EY,...3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
 hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX
 7.2.s,MZl.,k,5TWyql.bnayKmKKqGomC5XzET1.PuP.MHT9N9ntumaU2,CJuyKtQC98P9PP7O
 NbXmb.2.QwLk2khT,,6.,U08J99SdfJHPNjvQCJuGKfaqmY6MwdONl1QCh0708T,U..w.gkLU.
 2U18J99SqorGqmQCbWBxhYFWUl1UnNHEWUmr.6.wlJk5k1L,,6.,.Fu.cU.ktAcoZimBhWhioh
 gnZcZRCY.2.w22U.EBU.U,.JFA0z.U.2m,.v.1cUZT16.,Un.,UO.,E.12,Ue.E.076,M.,.Fg
 h3EcCJ,IklbcZpi1xhhhhVphYhgmRiiQeodJ.0ksHomO5.oZK,6.Zz.E.s6E.c,E.g04kCU,U,
 I.cKc.3gwP.,6.Y32.I12U.YJ2.I3.0E6,X.S8CE,9z4U.EKE.EBU.kzF.0EJ.6.V2w0M66,3g
 wP.,6.I76.I16.060.J,A.2G6.5,u2GkNU7V1w0cQEZE.S3KE,9z4E.0.D,,6.I16.z50.J,2.
 0E6,T.BcUZT1E.MAE.c4E.yD0E.c8U,UE0,MEM,f.,shs,3gwP.0.d0,.p.0.4E.EJ.,U.Yr0.
 B6.68c.JE.s.1U2212UT.B.408k3E.Cy.603gwP.,6.QA6.I16.N3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G6.2..606.k22.0sfCbsQXX8Utj00MyfU.Qfc7ix6a.kn1...
 --- end of encoding ---
Zinn
 
Posts: 47
Joined: Mon Nov 24, 2014 10:47 am

Re: Dialog.windows10

Postby Ivan Denisov » Thu Jun 29, 2017 3:04 am

Code: Select all
         ELSIF osVersion = 600 THEN os := "Windows Vista"
         ELSIF osVersion = 601 THEN os := "Windows 7"
         ELSIF osVersion = 602 THEN os := "Windows 8"
         ELSIF osVersion = 603 THEN os := "Windows 8.1"
         ELSIF osVersion = 1000 THEN os := "Windows 10"
User avatar
Ivan Denisov
 
Posts: 215
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: Dialog.windows10

Postby Zinn » Thu Jun 29, 2017 6:23 pm

Sorry Ivan, the change you propose doesn't work.
I add your lines and run the program.
On my Windows 10 computer the result is Windows 8
Does it work on your computer?
- Helmut
Zinn
 
Posts: 47
Joined: Mon Nov 24, 2014 10:47 am

Re: Dialog.windows10

Postby Ivan Denisov » Fri Jun 30, 2017 2:48 am

I did not test on Windows yet. I just checked in Wine with various versions in configuration dialog.
Attachments
win10test.png
User avatar
Ivan Denisov
 
Posts: 215
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: Dialog.windows10

Postby Zinn » Mon Jul 03, 2017 8:44 am

Ivan,
did you test you program on a Windows 10 system? I never saw a window system where it works.
- Helmut
Zinn
 
Posts: 47
Joined: Mon Nov 24, 2014 10:47 am

Re: Dialog.windows10

Postby Josef Templ » Mon Jul 03, 2017 10:29 am

version 602 (Windows 8) is the default for newer versions unless they have an
entry in the application's manifest file.

See docu in msdn "Operating System version"

- Josef
Josef Templ
 
Posts: 147
Joined: Tue Sep 17, 2013 6:50 am


Return to Feature

Who is online

Users browsing this forum: No registered users and 1 guest

cron