| |||||
FORUM HardWare.fr

Programmation

Comment obtenir des informations sur le système (CPU, RAM,OS) en C++ ?| Dernière réponse | |
|---|---|
| Sujet : Comment obtenir des informations sur le système (CPU, RAM,OS) en C++ ? | |
| z51 | ah j'oubliais, pour la quantité de RAM utilise un MEMORYSTATUS:
MEMORYSTATUS memory_status; GlobalMemoryStatus(&memory_status); RAM_SIZE_EN_MB = (memory_status.dwTotalPhys/(1024*1024))+1; et pour l'OS un OSVERSIONINFO : OSVERSIONINFO osversioninfo; GetVersionEx(&osversioninfo); |
| Vue Rapide de la discussion |
|---|