I am building an installer package which also installs some DLL's. I need to make this installer smart to where it recognizes when it has to copy/replace a DLL, it recognizes if any processes are using the DLL, returns details about each process, with the option to stop that process forcefully. So I need a function sort of like this:
Using Windows API's has never been a fun subject for me, so please keep it simple.
Thank you!
JD Solutions
Code:
procedure ListDLLProcesses(DLLFilename: String; List: TStrings);
begin
//Find processes using the specified DLL as specified in 'DLLFilename'
//Record each found process in 'List'
end;
Using Windows API's has never been a fun subject for me, so please keep it simple.
Thank you!
JD Solutions