PDA

View Full Version : Inno Setup Task Manager Library


Razor12911
17-05-2015, 16:12
Hi again, I created a useful dll for Inno Setup to handle things that are there in Task Manager and/or Resource Monitor.

Functions

function IsExeRunning(exeFileName: PAnsiChar): Boolean;
function IsProcessIdRunning(ProcessId: Cardinal): Boolean;
function GetExeProcessId(exeFileName: PAnsiChar): Cardinal;
function GetExeHeapId(exeFileName: PAnsiChar): Cardinal;
function GetExeModuleId(exeFileName: PAnsiChar): Cardinal;
function GetExeParentProcessId(exeFileName: PAnsiChar): Cardinal;
function GetExeThreads(exeFileName: PAnsiChar): Cardinal;
function GetExeMemoryUsage(exeFileName: PAnsiChar): Cardinal;
function GetExeCpuUsage(exeFileName: PAnsiChar): Cardinal;
function KillTask(exeFileName: PAnsiChar): Cardinal;
function RestartTask(exeFileName: PAnsiChar): Cardinal;

ekias642
17-05-2015, 21:14
nice works

goybus
27-09-2016, 09:59
Error libgdk_pixbuf-2.0-0.dll and libglib-2.0-0.dll and libgdk-win32-2.0-0.dll and more dll when I press Convert button.
Tested on Windows 10.1 x64

FitGirl
27-09-2016, 10:06
When DLLs are required, it means the exe compiled in dependible mode. Maybe Razor can make static ones, so they would work for everyone.

Razor12911
28-09-2016, 11:01
Error libgdk_pixbuf-2.0-0.dll and libglib-2.0-0.dll and libgdk-win32-2.0-0.dll and more dll when I press Convert button.
Tested on Windows 10.1 x64

What convert button?