Jump to content

_WinAPI_GlobalMemStatus()


Recommended Posts

hello all

pls tell me how to use #Include _WinAPI_GlobalMemStatus(), i am using this in the way below:

#Include <WinAPI.au3>
local $a
$a = _WinAPI_GlobalMemStatus()
msgbox (0, "", $a)

but the output is nothing. :) . i want to have the total memory available on the computer.

pls help.......

Edited by randeep

[font="Palatino Linotype"]Randeep Singh[/font][sub][/sub]

Link to comment
Share on other sites

It's a bug. You can submit it.

The problem is wrong function that gets called from kernel32. Non-existing 'GlobalMemStatus' is called.

It should be 'GlobalMemoryStatus'.

edit:

Just make sure to correct your example. Return value is an array.

Edited by trancexx

♡♡♡

.

eMyvnE

Link to comment
Share on other sites

@trancexx

thanx for replying. is there any another way to get the total memory of the computer?????

It's a bug. You can submit it.

The problem is wrong function that gets called from kernel32. Non-existing 'GlobalMemStatus' is called.

It should be 'GlobalMemoryStatus'.

edit:

Just make sure to correct your example. Return value is an array.

[font="Palatino Linotype"]Randeep Singh[/font][sub][/sub]

Link to comment
Share on other sites

@trancexx

thanx for replying. is there any another way to get the total memory of the computer?????

The obviousness of the answer makes your question really confusing.

I refuse to answer that.

That makes me a bad person? :)

Edited by trancexx

♡♡♡

.

eMyvnE

Link to comment
Share on other sites

@trancexx

thanx for replying. is there any another way to get the total memory of the computer?????

Another case of dog eats help file... what happens if you go to the index tab of the help file and enter "mem"? What's the very first function highlighted?

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...