View Full Version : ISSysUtils
Razor12911
12-05-2017, 16:35
Offers system detection, might work for people with GPU RAM more than 4GB.
function CPUName:String;
external 'CPUName@files:ISSysUtils.dll cdecl';
function CPUCores:Integer;
external 'CPUCores@files:ISSysUtils.dll cdecl';
function CPUThreads:Integer;
external 'CPUThreads@files:ISSysUtils.dll cdecl';
function CPUSpeed:Integer;
external 'CPUSpeed@files:ISSysUtils.dll cdecl';
function RAMSize(Physical: Boolean):Integer;
external 'RAMSize@files:ISSysUtils.dll cdecl';
function GPUName:String;
external 'GPUName@files:ISSysUtils.dll cdecl';
function GPUSize:Integer;
external 'GPUSize@files:ISSysUtils.dll cdecl';
function OSName:String;
external 'OSName@files:ISSysUtils.dll cdecl';
function OSBuild:Integer;
external 'OSBuild@files:ISSysUtils.dll cdecl';
I got an error right after CPU info
I just deleted functions for RAM, compiled again, same error.
Then deleted both, CPU + RAM functions, it works.
Razor12911
12-05-2017, 17:47
I just deleted functions for RAM, compiled again, same error.
Then deleted both, CPU + RAM functions, it works.
finally!
Error in run function CPUName.
If you use the CPUName function, an error (Acess violation at address error) occurs while executing a next function.
If you do not use the CPUName function, the other functions work perfectly.
Tested on hardware:
OS: Windows 7 Ultimate
CPU: i7 3770
GPU: GTX 970 (4 GB VRAM)
RAM: 24 GB DDR3
unarc 125
13-05-2017, 22:42
Different error for me
Using:
Win 7 64bit SP1
Can't get it to work with only GPUSize (CIU Script).
All informations are correct.
I could use ISSysUtils.dll for all hw checks only but there are errors (see above).
Until it get fixed i must still use hw_caps dll.
PS: Have also used ISab.dll from peterf but there it's still 4.0GB GpuVRam.
peterf1999
14-05-2017, 05:51
PS: Have also used ISab.dll from peterf but there it's still 4.0GB GpuVRam.
ISSysInfo.dll v0.1.9.7
18310
18312
GetDirectXVersion returns an extended floating point value instead a null terminated ansistring.
GetGpuVRam should work now on dedicated Videocard with Vram > 4gb.
Thanks.
Have to rebuild some of the code in script.
pakrat2k2
24-05-2017, 02:44
weird peterf's script returns incorrect value for my rx480 8gb, razors script reported it correct.
just added to script & an icon file, right under defaultdirname line
compiles without error. now to add ISSysUtils.dll to CIUV2
DefaultDirName={pf}\SysUtils example
OutputDir=.\Output\
DefaultGroupName=no
DisableDirPage=yes
DisableFinishedPage=yes
DisableProgramGroupPage=yes
DisableReadyPage=yes
DiskSpanning=yes
SlicesPerDisk=1
DiskSliceSize=2000000000
DiskClusterSize=4096
ReserveBytes=0
Compression=LZMA2/Ultra64
SolidCompression=yes
OutputBaseFilename=setup
SetupIconFile=icon.ico
peterf1999
24-05-2017, 03:07
weird peterf's script returns incorrect value for my rx480 8gb, razors script reported it correct.
Post your registry file under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Vi deo\{GUID}\0000 where HardwareInformation.ChipType value matchs your videocard
I have a rx480 8gb too and for me it displays correct.
>> GetDirectXVersion returns an extended floating point value instead a null terminated ansistring.
Doesn't work :
18432
pakrat2k2
24-05-2017, 06:27
Post your registry file under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Vi deo\{GUID}\0000 where HardwareInformation.ChipType value matchs your videocard
HardwareInformation.ChipType
41 00 54 00 49 00 20 00 45 00 53 00 31 00 30 00 30 00 30 00 00 00
@pakrat: Why is mine different than yours?
peterf1999
24-05-2017, 06:41
HardwareInformation.ChipType
41 00 54 00 49 00 20 00 45 00 53 00 31 00 30 00 30 00 30 00 00 00
post file.reg from that entry, I need all values.
pakrat2k2
24-05-2017, 06:48
Sapphire Rx 480 Nitro+ 8GB ( from box itself ) ??
peterf1999
24-05-2017, 06:49
>> GetDirectXVersion returns an extended floating point value instead a null terminated ansistring.
Doesn't work :
18432
You must convert a floating value to a string (e.g.):
Format('%.1n',[GetDirectXVersion(Dx_Sys)]);
pakrat2k2
24-05-2017, 06:53
post file.reg from that entry, I need all values.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Vi deo\{F92BFB9B-59E9-4B65-8AA3-D004C26BA193}\0000]
"HighResBootCompatible"=dword:00000000
"InstalledDisplayDrivers"=hex(7):76,00,67,00,61,00,00,00,66,00,72,00,61,00, 6d,\
00,65,00,62,00,75,00,66,00,00,00,76,00,67,00,61,00 ,32,00,35,00,36,00,00,00,\
76,00,67,00,61,00,36,00,34,00,6b,00,00,00,00,00
"VgaCompatible"=dword:00000001
"Device Description"="Standard VGA Graphics Adapter"
"HardwareInformation.ChipType"=hex:41,00,54,00,49,00,20,00,45,00,53,00,31,00,\
30,00,30,00,30,00,00,00
"HardwareInformation.AdapterString"=hex:56,00,47,00,41,00,00,00
"HardwareInformation.DacType"=hex:38,00,20,00,62,00,69,00,74,00,00,00
"HardwareInformation.BiosString"=hex:30,00,31,00,2e,00,30,00,30,00,00,00
"HardwareInformation.MemorySize"=hex:00,00,00,01
peterf1999
24-05-2017, 07:00
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Vi deo\{F92BFB9B-59E9-4B65-8AA3-D004C26BA193}\0000]
"HighResBootCompatible"=dword:00000000
"InstalledDisplayDrivers"=hex(7):76,00,67,00,61,00,00,00,66,00,72,00,61,00, 6d,\
00,65,00,62,00,75,00,66,00,00,00,76,00,67,00,61,00 ,32,00,35,00,36,00,00,00,\
76,00,67,00,61,00,36,00,34,00,6b,00,00,00,00,00
"VgaCompatible"=dword:00000001
"Device Description"="Standard VGA Graphics Adapter"
"HardwareInformation.ChipType"=hex:41,00,54,00,49,00,20,00,45,00,53,00,31,00,\
30,00,30,00,30,00,00,00
"HardwareInformation.AdapterString"=hex:56,00,47,00,41,00,00,00
"HardwareInformation.DacType"=hex:38,00,20,00,62,00,69,00,74,00,00,00
"HardwareInformation.BiosString"=hex:30,00,31,00,2e,00,30,00,30,00,00,00
"HardwareInformation.MemorySize"=hex:00,00,00,01
Standard VGA Graphics Adapter???
It's a bad entry!
Are you sure your videocard drivers are installed properly?
Download Display Driver Uninstaller DDU from http://www.guru3d.com/files-details/display-driver-uninstaller-download.html and then re-install the amd drivers
Maybe this helps you out better, peter.
You must convert a floating value to a string (e.g.):
Format('%.1n',[GetDirectXVersion(Dx_Sys)]);
Sorry for the inconvenience forgot to replace old dll with new one everything is resolved and working
peterf1999
24-05-2017, 07:17
Maybe this helps you out better, peter.
@KaktoR
Your drivers are installed properly, instead Pakrat must install the drivers properly!
Okay, if i understand right, pakrat must reinstall drivers to get rid of the problem.
Thanks-
pakrat2k2
24-05-2017, 08:08
@KaktoR
Your drivers are installed properly, instead Pakrat must install the drivers properly!
Uninstalled rebooted & reinstalled now displays 8GB properly. Really strange as I had used driver uninstaller before I installed new card ??
peterf1999
24-05-2017, 08:26
Uninstalled rebooted & reinstalled now displays 8GB properly. Really strange as I had used driver uninstaller before I installed new card ??
It is always a good idea to uninstall old drivers with new gpu :D
pakrat2k2
24-05-2017, 08:49
I thought I had but I guess not good enough. Thanks for the program.
romulus_ut3
24-05-2017, 14:08
Might be slightly in the off topic zone, but here's my two cents.
If you're going to update your display driver, the best practice is to NOT update it over your existing installation.
Simply uninstall your current display driver, Reboot, then install the newer/latest driver.
In case you're having issues with a certain display driver, you may want to uninstall your existing driver installation first from the add/remove programs, then grab the latest version of DDU (Display Driver Uninstaller by Wagnard) (http://www.wagnardsoft.com/) and let it reboot into safe mode (this tool allows you to do it) and clear out the registry remains that every driver installation leaves behind. This is essential if you want to clean install your drivers. Once DDU is done clearing out the remains of the previous driver, select restart from within DDU, it'll boot you back into normal mode, and install the latest driver as you'd normally do.
Just uninstalling and installing the latest update let's you use your customized profile/settings for games you may have done, which can cause conflicts at times as drivers have many branches of development and a certain branch may not be fully compatible with your customization. The clean install method ensures that this doesn't happen.
pakrat2k2
24-05-2017, 15:57
thanks already fixed, but handy to have info, if anyone else runs into issues.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.