Page 1 of 1

Detect apps holding my dll and kill them

Posted: Fri Sep 25, 2015 1:42 pm
by tofutim
On uninstall, I would like to detect apps holding on to a particular dll (in my installation directory) and kill them before running uninstall. If I do not do this, I will require a reboot. I can get all the images running my dll by using SysInternal's 'listdll'. 'tasklist' sort of works, but is incomplete in Windows 8. Has anyone else run into this need and figured out how to do it?

Re: Detect apps holding my dll and kill them

Posted: Tue Sep 29, 2015 11:53 am
by FrancescoT
Dear Tofutim,

unfortunately I never used SysInternal's 'listdll' and I do not know if other similar tool may be available.

Anyway doing a quick Google search, I found the following discussion that you may find interesting.
http://stackoverflow.com/questions/450039/how-to-programmatically-get-dll-dependencies

Regards