View Single Post
  #178  
Old 04-06-2024, 14:59
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Lord.Freddy View Post
Thank you. It took some time, but it's finally done. This is a gift for you, as a token of my appreciation for your help with the previous 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).
Also the windows identification is not being displayed correctly. It is labeled as "Windows 10 Interprise" and is "Windows 10 Pro" (see second image)
I attached a code that detects VRAM above 4 GB in case you want to use part of it for your module (see third image).

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.
Attached Images
File Type: png snap0000583.png (21.0 KB, 68 views)
File Type: png snap0000585.png (22.1 KB, 67 views)
File Type: png snap0000584.png (4.8 KB, 67 views)
Attached Files
File Type: 7z VRam.7z (1.4 KB, 9 views)

Last edited by Cesar82; 04-06-2024 at 15:27.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Lord.Freddy (04-06-2024)