Article View: borland.public.cppbuilder.nativeapi
Article #17238Re: Windows OS
From: Paul Dowd
Date: Mon, 31 Mar 2003 09:51
Date: Mon, 31 Mar 2003 09:51
16 lines
1571 bytes
1571 bytes
"Nick B. Cassos" <nbc@no_spam.ath.forthnet.gr> wrote in message
news:5evd8v8v4bep9et98ef2drot1vj4fn45j5@4ax.com...
> Assuming you use VCL, the following function returns both an
> enumerated version id, plus a "verbal" one.
>
> enum TWinVer {WUN,W9x,W95,W952,W98,W982,WMe,NT3,NT4,NT5,WXP,NTx};
>
> AnsiString __fastcall WinVerString(TWinVer *AWinVer)
> {
...
Many thanks, this works fine. One other query, why do you use __fastcall ? I
though this was only for VCL.
Paul
Technical Details
Message-ID:
<3e880fba@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!ken-transit.news.telstra.net!news.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3e86da10$1@newsgroups.borland.com> <5evd8v8v4bep9et98ef2drot1vj4fn45j5@4ax.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-31 01:58:14 PST Reply-To: "Paul Dowd" <pauldowd@seisqc.freeserve.co.uk> From: "Paul Dowd" <pauldowd@seisqc.freeserve.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e86da10$1@newsgroups.borland.com> <5evd8v8v4bep9et98ef2drot1vj4fn45j5@4ax.com> Subject: Re: Windows OS Date: Mon, 31 Mar 2003 10:51:39 +0100 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 80.3.89.189 Message-ID: <3e880fba@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049104314 80.3.89.189 (31 Mar 2003 01:51:54 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!ken-transit.news.telstra.net!news.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail