According to the Fox Wiki, when calling OS(), both WinXP Home and
Professional both return Windows 5.01. It looks like I can use OS(10) and
check to see if the value returned is 512, but wanted to know if others
have used a different technique or can comment on this approach?
Our software here apparently isn't supported on WinXP Home (but is on
Professional). We can prevent installation on WinXP Home in the
Installshield setup, but I was thinking it might be a good idea to stick a
check in the main.prg via code as well.
For example, I think this will do:
if OS() = "Windows 5.01" and OS(10) = 512 then
messagebox("Sorry dude...you shouldn't be running this under WinXP
Home.")
quit
endif
Comments welcome! Thanks in advance.
--Michael
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.