randeep Posted July 1, 2009 Share Posted July 1, 2009 (edited) 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 July 1, 2009 by randeep [font="Palatino Linotype"]Randeep Singh[/font][sub][/sub] Link to comment Share on other sites More sharing options...
trancexx Posted July 1, 2009 Share Posted July 1, 2009 (edited) 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 July 1, 2009 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
randeep Posted July 1, 2009 Author Share Posted July 1, 2009 @trancexxthanx 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 More sharing options...
trancexx Posted July 1, 2009 Share Posted July 1, 2009 (edited) @trancexxthanx 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 July 1, 2009 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
PsaltyDS Posted July 1, 2009 Share Posted July 1, 2009 @trancexxthanx 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now