View Single Post
  #7  
Old 05-06-2024, 00:24
Lord.Freddy's Avatar
Lord.Freddy Lord.Freddy is offline
Registered User
 
Join Date: Apr 2022
Location: ...
Posts: 54
Thanks: 222
Thanked 41 Times in 25 Posts
Lord.Freddy is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
Thanks for sharing.

But I would like to inform you that the VRAM is not reading correctly...
Reading is limited to 32-bit integers.
Should have returned 12 GB of VRAM here (see first image).
alright thanks.

Quote:
Originally Posted by Cesar82 View Post
Also the windows identification is not being displayed correctly. It is labeled as "Windows 10 Interprise" and is "Windows 10 Pro" (see second image)
well i modified the GetOSName function to work with GetVersionEx api, should work correctly now.

Quote:
Originally Posted by Cesar82 View Post
EDIT: I think you should use the "Extended" type (not Int64) to make it compatible with previous versions of Inno Setup such as the IS Enhanced 5.51 version that many use due to the excellent programming/debugging interface and extra classes offered in this version.
that`s not possible because the GetPhysicallyInstalledSystemMemory api function will only one work with Int64 type.


well done, i hope this release should work as expected, and also if you have windows 11, please test this release on that machine to see if every things work`s well or no.

Edit: i also modified the GetCPUArchitecture function to work with GetNativeSystemInfo and IsWow64Process api function.
Attached Files
File Type: zip ISSystemInfo_v0.2.zip (5.5 KB, 6 views)
__________________
¤ Life good be a Dream ¤

Last edited by Lord.Freddy; 05-06-2024 at 00:28.
Reply With Quote