[Windows] Basic system information

Developed or developing a new product in PureBasic? Tell the world about it.
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Windows] Basic system information

Post by Little John »

Thanks again for your input!
STARGÅTE wrote:Is "MaxCapacity" the capacity of one slot or all slots? All slots would not make sense, since I have 16GB installed
As I understand it, "MaxCapacity" is the capacity of all slots.
[u]Microsoft docs[/u] wrote:MaxCapacity
[...]DEPRECATED[...]
Use the MaxCapacityEx property instead.

MaxCapacityEx
[...]
Maximum memory size (in bytes) installable for this particular memory array.
At least for me, being no native English speaker, it is not 100% clear what this exactly means.

However, from the manual of my notebook I know that the maximum RAM it can use is 2x8 GiB. And 16 GiB is exactly what both "MaxCapacity" and "MaxCapacityEx" return here when using WMI or WMIC.

The utility HWiNFO says here:
Memory Capacity: 16 GBytes
Memory Devices: 2
It does not say "Capacity per slot" or something similar. I've tested on some other computers, and the value of HWiNFO's "Memory Capacity" was always identical to the value of WMI's "MaxCapacity(Ex)".

But in the case of your computer, that actually doesn't make sense. :x
User avatar
STARGÅTE
Addict
Addict
Posts: 2067
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: [Windows] Basic system information

Post by STARGÅTE »

HWiNFO says here:
Memory Capacity: 8 GBytes
Memory Devices: 4
Due to the fact, that I can use currently 16 GB in total, I think 8 GB is per device.
So 32GB in total, which is also written on ASRock: "- Max. capacity of system memory: 32GB"
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Windows] Basic system information

Post by Little John »

Version 1.00 released. Program renamed to BSI, in order to avoid a name conflict with an existing product.

This version contains an experimental way for detecting Blu-ray writers.

It turned out that "MaxCapacity(Ex)" sometimes refers to the total capacity and sometimes to the capacity per slot. :cry: <shudder>
So the output of the program concerning maximum RAM capacity now depends on the situation:
  • E.g. 8+8 GiB installed, and "MaxCapacity(Ex)" is 16 GiB:
    This can mean that the maximum RAM capacity is 2x8 GiB or 2x16 GiB. And that's what the program shows now. Without additional information, it's impossible to decide which numbers are correct.
  • E.g. 4+4+4+4 GiB installed, and "MaxCapacity(Ex)" is 8 GiB:
    This can not mean that the maximum RAM capacity is 4x2 GiB, but can only mean 4x8 GiB.
Many thanks to all who sent feedback!
firace
Addict
Addict
Posts: 899
Joined: Wed Nov 09, 2011 8:58 am

Re: [Windows] Basic system information

Post by firace »

Works beautifully here (Win 10 1803 Home edition). Thanks!
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Windows] Basic system information

Post by Little John »

firace wrote:Works beautifully here (Win 10 1803 Home edition). Thanks!
Thanks for testing! :-)

I just released the new version 1.05:
  • DPI information removed. I think it isn't actually important in this context.
    Maybe later I'll add information about DPI per monitor.
  • The program now shows the number of not working devices (those marked with an exclamation point icon in Window's Device Manager).
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Windows] Basic system information

Post by Little John »

New version 1.06:
  • Added built-in support for Russian
Many thanks to kvitaliy for the translation!
kvitaliy
Enthusiast
Enthusiast
Posts: 162
Joined: Mon May 10, 2010 4:02 pm

Re: [Windows] Basic system information

Post by kvitaliy »

Little John wrote:New version 1.06:
  • Added built-in support for Russian
Win7 x64.
Yes, everything works correctly. Translation is automatic.
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Windows] Basic system information

Post by Little John »

That's good to know. :-)
Thank you for the feedback!
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Windows] Basic system information

Post by Little John »

New version 1.07:
  • Fixed a DPI related issue with the font size on the splash screen.
  • Added GPU detection.
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: [Windows] Basic system information

Post by RSBasic »

Nice tool. Image
Image
Image
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Windows] Basic system information

Post by Little John »

Thank you, RSBasic!
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Windows] Basic system information

Post by Little John »

If the User Account Control (UAC) is set to a low level, this can be a security risk, see e.g.
(original text in German) https://heise.de/-3619820
(automatic English transalation) https://translate.google.de/translate?h ... 2F-3619820
So the new version checks the UAC level.

Many thanks again to kvitaliy for translating the additional text into Russian!

Version 1.08
New
  • The splash screen now shows a progress bar.
  • For Windows 7 and newer, the UAC level of the computer is reported (1, 2, 3, or 4).
    If UAC is not set to the maximum level, a warning is given.
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Windows] Basic system information

Post by Little John »

Version 1.09
Fixed
  • The program can now distinguish between DVD drives and Blu-ray drives.
Changed
  • Detection of drives is considerably faster now.
  • Some tiny cosmetic changes.
Post Reply