It's not a secret anymore!
The moose likes General Computing and the fly likes Unregister a dll? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Unregister a dll?" Watch "Unregister a dll?" New topic

Unregister a dll?

Eibhlin Reid

Joined: Nov 04, 2004
Posts: 28
I am new to JNI and was wondering if it is possible to remove a programs dependancy on a dll without effecting other programs that may be using that dll? I am trying to write a program to delete programs from the hard drive of a windows basd machine and do not want to just delete dll's incase other programs are using them.
Joel McNary

Joined: Aug 20, 2001
Posts: 1824

There's no way to do this in Java -- however, there are a number of tools out there that will do this (or similar) things. A quick Google search for "Windows DLL dependency delete" will yeild some results like this one.

That said, as this isn't a true Java question, I'm going to move this to General Computing. The nice folks there will probably be better able to help you.

Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
I agree. Here's the link:
subject: Unregister a dll?
It's not a secret anymore!