Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C++ Libraries / September 2003

Tip: Looking for answers? Try searching our database.

GlobalMemoryStatus( ) function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mahesh - 19 Sep 2003 01:45 GMT
1. GlobalMemoryStatus( ) function is reporting Total
Physical Memory only upto 2 GB.  
With /LARGEADDRESSAWARE option will fetch upto 4GB.  But I
found this might not work, if it is used in a DLL.  Is
this information true?
2. GlobalMemoryStatusEx ( ) is not getting compiled from
VC++ 6.0 as it is not there in Winbase.h.  
It gives compilation error "error
C2065: 'GlobalMemoryStatusEx' : undeclared identifier".
But the MSDN documentation says it is Platform SDK.  When
compiling this API, do we need to install any third party
software or packages or do we need to include any lib.  
Kernel32.lib is included while compiling but still
compilation fails.
3. GlobalMemoryStatusVlm() is not in the documentation but
available in Winbase.h.  With this function, compilation
and linking goes well but while executing, it throws up
and error message saying "This function entry point is not
found in Kernel32.dll"

I tried to load this dll using LoadLibrary and
GetProcAddres() but GlobalMemoryStatusVlm() function is
not there in Kernel32.dll.  Is there any way I can use
this function?
Mangal dass - 23 Sep 2003 08:33 GMT
>But the MSDN documentation says it is Platform SDK.
then u  need to install platform SDK .

when i was trying for IRDA apis i also got similar error
then i installed platform SDK and problem solved.

so i feel u may have to install platform SDK .

>-----Original Message-----
>1. GlobalMemoryStatus( ) function is reporting Total
[quoted text clipped - 23 lines]
>
>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.