#1
|
||||
|
||||
ISSysUtils
Offers system detection, might work for people with GPU RAM more than 4GB.
Code:
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'; |
Sponsored Links |
#2
|
||||
|
||||
I got an error right after CPU info
__________________
Haters gonna hate
|
#3
|
||||
|
||||
I just deleted functions for RAM, compiled again, same error.
Then deleted both, CPU + RAM functions, it works.
__________________
Haters gonna hate
|
The Following User Says Thank You to KaktoR For This Useful Post: | ||
Razor12911 (12-05-2017) |
#4
|
||||
|
||||
finally!
|
#5
|
||||
|
||||
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 |
#6
|
||||
|
||||
Different error for me
Using: Win 7 64bit SP1
__________________
You're wasting your time :- I did that too ;) |
#7
|
||||
|
||||
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.
__________________
Haters gonna hate
Last edited by KaktoR; 14-05-2017 at 05:55. |
#8
|
||||
|
||||
Quote:
win10.JPG win7.jpg
Last edited by peterf1999; 14-05-2017 at 08:46. |
The Following 4 Users Say Thank You to peterf1999 For This Useful Post: | ||
#9
|
||||
|
||||
Thanks.
Have to rebuild some of the code in script.
__________________
Haters gonna hate
|
The Following User Says Thank You to KaktoR For This Useful Post: | ||
mausschieber (14-05-2017) |
#10
|
||||
|
||||
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 Code:
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 |
#11
|
||||
|
||||
Post your registry file under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Vi deo\{GUID}\0000 where HardwareInformation.ChipType value matchs your videocard
|
#12
|
||||
|
||||
I have a rx480 8gb too and for me it displays correct.
__________________
Haters gonna hate
|
#13
|
|||
|
|||
>> GetDirectXVersion returns an extended floating point value instead a null terminated ansistring.
Doesn't work : DirectXTest.PNG |
#14
|
||||
|
||||
Quote:
41 00 54 00 49 00 20 00 45 00 53 00 31 00 30 00 30 00 30 00 00 00 |
#15
|
||||
|
||||
@pakrat: Why is mine different than yours?
__________________
Haters gonna hate
|
![]() |
Thread Tools | |
Display Modes | |
|
|