This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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: 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:
subject: Unregister a dll?
Similar Threads
JSP loading a dll
jar to native dll
JRE Memory Footprint Bug
Calling VB dll from java (using JNI)
How to link HTML and DLL file