Article View: borland.public.cppbuilder.nativeapi
Article #17227Re: Windows OS
From: Daniel Pfeffer
Date: Sun, 30 Mar 2003 12:40
Date: Sun, 30 Mar 2003 12:40
17 lines
1456 bytes
1456 bytes
"Paul Dowd" <pauldowd@seisqc.freeserve.co.uk> wrote in message news:3e86da10$1@newsgroups.borland.com... > Hi all, > > Is there some way of finding out from within my application what the > operating system is? I need to be able to distinguish between all Windows OS > from 95 to XP. Use the GetVersionEx() API to determine the OS. If you need specific features of the OS (e.g. a certain service pack), and are running under Windows 2000/XP - use the VerifyVersionInfo() to determine whether the system supports your requirements. HTH Daniel Pfeffer
Technical Details
Message-ID:
<3e86e598@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e86da10$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b5c95b47d9c4adfb X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-30 04:42:41 PST From: "Daniel Pfeffer" <pfefferd@hotmail.co.il> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e86da10$1@newsgroups.borland.com> Subject: Re: Windows OS Date: Sun, 30 Mar 2003 15:40:01 +0300 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1123 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 NNTP-Posting-Host: 192.114.161.154 Message-ID: <3e86e598@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049027992 192.114.161.154 (30 Mar 2003 04:39:52 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail