Article View: borland.public.cppbuilder.nativeapi
Article #7770Re: Processor Name,OS version and Free Memory
From: Remy Lebeau (TeamB)
Date: Tue, 28 Dec 2004 03:09
Date: Tue, 28 Dec 2004 03:09
23 lines
1876 bytes
1876 bytes
"Sudesh" <sudeshc@vfemail.net> wrote in message news:41d0cb7c@newsgroups.borland.com... > When to use Ex functions? Do we have to first find the > operating system and then decide which one to be used? > For example GetVersionEx() & GetVersion() > or GlobalMemoryStatusEx() and GlobalMemoryStatus() GetVersionEx() is available on all systems going back to Win95 and NT3.5. GlobalMemoryStatusEx() is only available on Win2k or higher. > I get undefined symbol error at the following. > OSVERSIONINFOEX osvi; > MEMORYSTATUSEX statex; Then you do not have up-to-date header files installed. Which version of BCB are you actually using? I'm guessing BCB3, since OSVERSIONINFOEX has been available since BCB4 and MEMORYSTATUSEX since BCB5. Gambit
Technical Details
Message-ID:
<41d0ce05$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41cfb21f@newsgroups.borland.com> <41cfd1af$1@newsgroups.borland.com> <41cff768@newsgroups.borland.com> <41d05a38$2@newsgroups.borland.com> <41d0cb7c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3738055f2876cd07 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <41cfb21f@newsgroups.borland.com> <41cfd1af$1@newsgroups.borland.com> <41cff768@newsgroups.borland.com> <41d05a38$2@newsgroups.borland.com> <41d0cb7c@newsgroups.borland.com> Subject: Re: Processor Name,OS version and Free Memory Date: Mon, 27 Dec 2004 19:09:11 -0800 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <41d0ce05$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1104203269 68.69.17.41 (27 Dec 2004 19:07:49 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail