This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Unregister a dll?" Watch "Unregister a dll?" New topic
Author

Unregister a dll?

Eibhlin Reid
Greenhorn

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
Bartender

Joined: Aug 20, 2001
Posts: 1817

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: http://aspose.com/file-tools
 
subject: Unregister a dll?