![]() |
Quote:
|
Quote:
Quote:
Quote:
|
1 Attachment(s)
Quote:
The script file for testing with Inno Setup 6 is attached. https://i.imgur.com/Y5y2adK.png |
1 Attachment(s)
Maybe you'll figure out what the issue is :)
|
Quote:
Code:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\This key I found here, and in my system it is the same. Code:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000 |
1 Attachment(s)
Test vRAM from registry...
If you have 2 or more video cards, the highest vRAM value will be displayed (if it is working correctly). |
Quote:
is always zero. https://i.imgur.com/CWVGYaR.png |
Quote:
Code:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000 |
bro just use wmi, you'll require class - win32_VideoController property - AdapterRAM
or if you want to play lazy, you can just parse the output of this Code:
wmic path win32_VideoController get AdapterRAM |
Quote:
https://i.imgur.com/0j99te6.png |
1 Attachment(s)
Quote:
|
Quote:
|
Quote:
uint32 AdapterRAM; uint32 = unsigned integer 32 bits = 2^32 = 4294967296 bytes = 4 GB |
1 Attachment(s)
Another method is to use OpenCL but I do not recommend it unless if you really want to know more about the GPU, such as clock speeds or to use the GPU for other purposes.
They have an example and it detects GPU memory correctly as well. https://code.google.com/archive/p/de...encl/downloads |
Quote:
is hungry a few GB on my old PC https://i.ibb.co/CzsqD4t/VGA.png |
| All times are GMT -7. The time now is 05:46. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com