Detect apps holding my dll and kill them

Got a problem you cannot solve? Try here.
tofutim
Posts: 176
Joined: Thu Mar 01, 2012 1:16 pm

Detect apps holding my dll and kill them

Postby tofutim » Fri Sep 25, 2015 1:42 pm

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?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Detect apps holding my dll and kill them

Postby FrancescoT » Tue Sep 29, 2015 11:53 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 148 guests