Article View: borland.public.cppbuilder.nativeapi
Article #7769Re: Processor Name,OS version and Free Memory
From: Sudesh
Date: Tue, 28 Dec 2004 02:56
Date: Tue, 28 Dec 2004 02:56
36 lines
2025 bytes
2025 bytes
Hi Remy: 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() I get undefined symbol error at the following. OSVERSIONINFOEX osvi; MEMORYSTATUSEX statex; However I am able to use OSVERSIONINFO osvi; MEMORYSTATUS statex; and GetVersion() and GlobalMemoryStatus() Coluld you please elaborate? Thanks, Sudesh "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:41d05a38$2@newsgroups.borland.com... > > "Sudesh" <sudeshc@vfemail.net> wrote in message > news:41cff768@newsgroups.borland.com... > >> I think I have to link Kernel32.dll correct? > > It should already be linked in for you automatically. Kernel32.dll (and > User32.dll) is a core DLL that all applications need in order to run under > Windows. > > > Gambit > >
Technical Details
Message-ID:
<41d0cb7c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41cfb21f@newsgroups.borland.com> <41cfd1af$1@newsgroups.borland.com> <41cff768@newsgroups.borland.com> <41d05a38$2@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: "Sudesh" <sudeshc@vfemail.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <41cfb21f@newsgroups.borland.com> <41cfd1af$1@newsgroups.borland.com> <41cff768@newsgroups.borland.com> <41d05a38$2@newsgroups.borland.com> Subject: Re: Processor Name,OS version and Free Memory Date: Tue, 28 Dec 2004 08:26:24 +0530 Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2096 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2096 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 220.224.46.187 Message-ID: <41d0cb7c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1104202620 220.224.46.187 (27 Dec 2004 18:57:00 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail