Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2007 Feb : Trouble with Win32MajorVersion

www.cryer.info
Managed Newsgroup Archive

Trouble with Win32MajorVersion

Subject:Trouble with Win32MajorVersion
Posted by:"Mark Patterson" (noe_zp..@stopbots.org)
Date:Mon, 19 Feb 2007 16:23:52

Hi,

I've been trialling a Delphi 7 app on Vista. I wanted the program to
detect what version of the OS it's running. At first Win32MajorVersion
was giving 5 for my XP machine, and 6 for the Vista machine. But I just
ran it on the Vista machine and got a 5.

Does anyone have any idea what's happening here? Could mods I made to
the app change the apparent OS?

TIA,

--
Mark Patterson
www.piedsoftware.com

Replies:

www.cryer.info
Managed Newsgroup Archive