FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Inno Setup Task Manager Library (https://fileforums.com/showthread.php?t=96904)

Razor12911 17-05-2015 16:12

Inno Setup Task Manager Library
 
1 Attachment(s)
Hi again, I created a useful dll for Inno Setup to handle things that are there in Task Manager and/or Resource Monitor.

Functions

Code:

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

Quote:

Originally Posted by goybus (Post 452151)
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?


All times are GMT -7. The time now is 03:40.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com