alexBrasil
asked on
As to know Which size of RAM?
As to know Which size of RAM?(C++, AND same in assembler without using interruption)
ASKER
I am using Win95.
Windows is a virtual memory OS. The amount of RAM available isn't really all that relevant. Why do you want it?
In NT you can use GetProcessWorkingSetSize() , which may be more useful to you.
ASKER
Win95 shows in the system patterns the size of the RAM, and in boot(bios). also the command " mem " of the dos.
True. I'm not denying that, I'm just point out that that information is not of much importance to a program runing in windows. So if you think your program really needs this information, you are probably wrong. (I also don't know how to get the information, there are not procedures I know of that return it, you can probably find it somewhere in the registry.)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Some operatig systems may provide features for doing so, so you may be able to use OS-specific code do do this. What OS are you using?