how to get hardware information like screen resolution,windows version etc in vc++ in the run time?
Printable View
how to get hardware information like screen resolution,windows version etc in vc++ in the run time?
I am not sure if you mean the graphics driver capabilities. But, if you want to know what the current settings are , look at
SystemParametersInfo API. Most of these info directly correlate to various settings you can do with control panel.
To get Windows version, use GetVersion/GetVersionEx