lfreist / hwinfo

cross platform C++ library for hardware information (CPU, RAM, GPU, ...)
MIT License
433 stars 74 forks source link

RAM on Windows only returns the information for 1 DIMM #64

Closed ruifig closed 10 months ago

ruifig commented 10 months ago

I have 2 DIMMs, and it seems hwinfo only reports half the RAM (1 DIMM).

I can see that in windows/ram.cpp, we are not iterating through the WMI results. We are only grabbing the first one.

lfreist commented 10 months ago

Hi, Thank you for the report! You are absolutely correct. Will fix it in the next days and update this issue as soon as the fix is published.

lfreist commented 10 months ago

Hi @ruifig , I have fixed the issue for windows: c30c30eee66b2487f9ca51d5da53d64fa2c3790d