View Single Post
Old 10-02-2014, 02:32 PM   #66
fjtorres
Grand Sorcerer
fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.
 
Posts: 11,732
Karma: 128354696
Join Date: May 2009
Location: 26 kly from Sgr A*
Device: T100TA,PW2,PRS-T1,KT,FireHD 8.9,K2, PB360,BeBook One,Axim51v,TC1000
Quote:
Originally Posted by HarryT View Post
... except that you don't test for Windows versions like that. You do it by calling the "GetVersion" or "GetVersionEx" Windows APIs, and they return Windows versions as a "major" and "minor" version number, not a string. There's no possible way to confuse Windows 95 with Windows 9. Windows 95 returns a version of "4.0", Windows 98 is "4.1".
You may not, but the report clearly states that such code can be found in use.
fjtorres is offline   Reply With Quote