Platform detection

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
RevtimeRunolution
Posts: 2
Joined: Sat Sep 22, 2012 7:58 am

Platform detection

Post by RevtimeRunolution » Sat Sep 22, 2012 8:03 am

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.

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Platform detection

Post by sturgis » Sat Sep 22, 2012 9:22 am

Look at "systemVersion" and see if it will work for you. (It should)

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Platform detection

Post by Klaus » Sat Sep 22, 2012 11:37 am

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

RevtimeRunolution
Posts: 2
Joined: Sat Sep 22, 2012 7:58 am

Re: Platform detection

Post by RevtimeRunolution » Sat Sep 22, 2012 1:43 pm

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!

Post Reply

Return to “Windows”