🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11954

Re: Detecting Windows XP

#11954
From: Mark Taylor
Date: Thu, 08 Jan 2004 18:35
25 lines
1338 bytes
Hi Fernando -

Check out GetVersionEx:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getversionex.asp


For the OSVERSIONINFOEX structure:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/osversioninfoex_str.asp


Hope this helps -

Mark



Fernando  <frr@easyjob.net> wrote:
>Hi,
>
>How do I detect windows XP? O:-)
>
>TIA
Technical Details
Message-ID: <3ffdb10b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <i3arvvc0p3esp7mlj6rqt3b1s0fs529pgp@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ce78bf60546b6fb5
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-08 11:40:37 PST
From: "Mark Taylor" <mark_taylorNO.SPAM@mindspringNO.SPAM.com>
Sender: "Mark Taylor" <mark_taylorNO.SPAM@mindspringNO.SPAM.com>
Reply-To: "Mark Taylor" <mark_taylorNO.SPAM@mindspringNO.SPAM.com>
Subject: Re: Detecting Windows XP
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 208.61.191.68     
References:  <i3arvvc0p3esp7mlj6rqt3b1s0fs529pgp@4ax.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <3ffdb10b$1@newsgroups.borland.com>
Date: 8 Jan 2004 11:35:39 -0700
X-Trace: newsgroups.borland.com 1073590539 207.105.83.66 (8 Jan 2004 11:35:39 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail