Advertisement

finding system info for an OpenGL game

Started by November 19, 2002 02:33 AM
1 comment, last by tylerbingham 22 years, 3 months ago
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.
not sure....maybe look on the msdn ??
Advertisement
This should do it:

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