#76
|
||||
|
||||
GetSysInfo procedure replaced by:
Code:
function GetCpuName: PAnsichar; external 'GetCpuName@files:Isab.dll stdcall delayload'; function GetCpuMaxClockSpeed: integer; external 'GetCpuMaxClockSpeed@files:Isab.dll stdcall delayload'; function GetCpuCurrentClockSpeed: integer; external 'GetCpuCurrentClockSpeed@files:Isab.dll stdcall delayload'; function GetCpuManufacturer: PAnsichar; external 'GetCpuManufacturer@files:Isab.dll stdcall delayload'; function GetCpuPhysicalCores: integer; external 'GetCpuPhysicalCores@files:Isab.dll stdcall delayload'; function GetCpuLogicalCores: integer; external 'GetCpuLogicalCores@files:Isab.dll stdcall delayload'; function GetGpuName: PAnsichar; external 'GetGpuName@files:Isab.dll stdcall delayload'; function GetGpuRam: integer; external 'GetGpuRam@files:Isab.dll stdcall delayload'; function GetVideoDescription: PAnsichar; external 'GetVideoDescription@files:Isab.dll stdcall delayload'; function GetHorizontalResolution: PAnsichar; external 'GetHorizontalResolution@files:Isab.dll stdcall delayload'; function GetVerticalResolution: PAnsichar; external 'GetVerticalResolution@files:Isab.dll stdcall delayload'; function GetRefreshRate: PAnsichar; external 'GetRefreshRate@files:Isab.dll stdcall delayload'; function GetAudioDeviceName: PAnsichar; external 'GetAudioDeviceName@files:Isab.dll stdcall delayload'; function GetTotalVisibleMemory: integer; external 'GetTotalVisibleMemory@files:Isab.dll stdcall delayload'; function GetFreePhysicalMemory: integer; external 'GetFreePhysicalMemory@files:Isab.dll stdcall delayload'; function GetOSName: PAnsichar; external 'GetOSName@files:Isab.dll stdcall delayload'; function GetOSVersionMajor: Cardinal; external 'GetOSVersionMajor@files:Isab.dll stdcall delayload'; function GetOSVersionMinor: Cardinal; external 'GetOSVersionMinor@files:Isab.dll stdcall delayload'; function GetOSBuildNumbers: Cardinal; external 'GetOSBuildNumbers@files:Isab.dll stdcall delayload'; function GetServicePackMajorVersion: Word; external 'GetServicePackMajorVersion@files:Isab.dll stdcall delayload'; function GetServicePackMinorVersion: Word; external 'GetServicePackMinorVersion@files:Isab.dll stdcall delayload'; function GetOSArchitecture: Byte; external 'GetOSArchitecture@files:Isab.dll stdcall delayload'; |
The Following 7 Users Say Thank You to peterf1999 For This Useful Post: | ||
altef_4 (30-03-2016), arkantos7 (30-03-2016), BAMsE (31-03-2016), RamiroCruzo (30-03-2016), Razor12911 (30-03-2016), Simorq (01-12-2017), y_thelastknight (07-04-2016) |
Sponsored Links |
#77
|
||||
|
||||
Quote:
|
The Following 2 Users Say Thank You to altef_4 For This Useful Post: | ||
peterf1999 (30-03-2016), Simorq (01-12-2017) |
#78
|
||||
|
||||
Quote:
![]() |
#79
|
||||
|
||||
peterf1999 there was a problem with GetSysInfo (not tested with current version, but I think it will be too) on rigs with more than one graphic adapter
![]() |
#80
|
||||
|
||||
Which function (GetGpuName/GetGpuRam) fails?
|
#81
|
||||
|
||||
![]()
__________________
if you understand read more |
#82
|
||||
|
||||
Code:
const DCP_MD5 = 1; DCP_SHA1 = 2; DCP_SHA256 = 4; // SHA-2 DCP_SHA512 = 8; //SHA-2 Code:
function GetFileHash(const Filename: PAnsichar; const DCP_Hash: integer): PAnsichar; external 'GetFileHash@files:Isab.dll stdcall delayload'; |
The Following 4 Users Say Thank You to peterf1999 For This Useful Post: | ||
#83
|
||||
|
||||
|
The Following 4 Users Say Thank You to peterf1999 For This Useful Post: | ||
#84
|
||||
|
||||
SystemInfo (ISab.dll v0.1.0.4):
Last edited by peterf1999; 05-05-2016 at 01:56. |
The Following 4 Users Say Thank You to peterf1999 For This Useful Post: | ||
#85
|
|||
|
|||
Somebody can upload an example code to use this library to check hash after installation? Thanks!
|
#86
|
||||
|
||||
still reports gpuram incorrectly, says on amd 8gb its has only 4gb
|
#87
|
||||
|
||||
@mods
Please delete this thread. |
#89
|
||||
|
||||
Why Peter? It is a very useful thread and you have put a lot of work into it, I can not see any point in Deleting it entirely, I could Lock the thread for you?
__________________
Can't find a Game Conversion? Check the 'Conversion INDEX'
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 06:51 |
Inno Setup: Additional Libraries | altef_4 | Conversion Tutorials | 50 | 21-10-2020 10:59 |
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 07:57 |
Tutorial using CI 8.0.0 | yener90 | Conversion Tutorials | 424 | 21-10-2014 10:49 |