Page 1 of 1

Platform detection

Posted: Sat Sep 22, 2012 8:03 am
by RevtimeRunolution
Hello all!

I want to make an app that can detect platform version (Windows 98/ME/2000/XP/etc) on launch and only run on the versions I specify.

If launched on, say, Windows 98, an error would come up saying it is incompatible.

I have an app that does not function properly on the old Windows 9x yet still launches, making it look like the app is broken. Rather than attempting to make it work on the 14 year old OS, I'd rather just make it incompatible.

Any help with this? I've been playing around with platform commands yet haven't been able to get it to detect a specific version of Windows.

Re: Platform detection

Posted: Sat Sep 22, 2012 9:22 am
by sturgis
Look at "systemVersion" and see if it will work for you. (It should)

Re: Platform detection

Posted: Sat Sep 22, 2012 11:37 am
by Klaus
Hi Revtime,

welcome to the forum!

Take a loot at this page (and the others on that site!), it will tell you what the different "systemversion" values mean:
http://www.sonsothunder.com/devres/live ... env003.htm


Best

Klaus

Re: Platform detection

Posted: Sat Sep 22, 2012 1:43 pm
by RevtimeRunolution
Klaus wrote:Hi Revtime,

welcome to the forum!

Take a loot at this page (and the others on that site!), it will tell you what the different "systemversion" values mean


Best

Klaus
PERFECT! Thanks!