finding system info for an OpenGL game
I am writing a game in OpenGL and c/c++. I know how to test the system speed(i.e. MHZ) by using a simple assembly function.I also know how to find the video card and the opengl version and vendor through the use glGetString()...., but what I cannot figure out is how to find the amount of RAM on the users computer. The reason I am doing all of this is so I can have the game determine the best resolution and bpp for each game user. If anyone knows how to find the RAM of the users computer ...pleaz let me know.
This should do it:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/memory/base/globalmemorystatus.asp
Luigi Pino
The 23rd Dimension
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/memory/base/globalmemorystatus.asp
Luigi Pino
The 23rd Dimension
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement