Detection of current version 'Windows' Operating system using Studio 5 -- sys(7) alternative

Doug Easterbrook doug at
Mon Nov 5 09:49:47 EST 2018

hi all.

I’m finalizing/testing our code to help people get over to 64 bit OS and 64 bit application and I’ve run into an issue with sys(7) on windows.

On mac, sys(7) will tell you the version of the operating system up to the latestMacOS day.   perfect.

On windows 10, I’f I’m running studio 5.2.3 runtime then  sys(7) still returns 6.2 — telling me that Studio 5.2.3 thinks this is a windows 8 machine.

does anybody have any code trick handy that will tell me what the current version of the windows operating system is (using studio 5)???   

all I really want to know is Windows 8 and before or Window 8.1 and later .. but it would be nice if I could get the exact version.

Studio 8, other other hand … tells me nicely, but I need to know in studio 5 to suggest to get to studio 8.

Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at
Phone (403) 650-1978

More information about the omnisdev-en mailing list