Stoping a DLL from running

I'm running a Point Of Sale system that loads a DLL program into memory. In order to perform system updates the DLL has to be unloaded. The only way to achieve this is by rebooting the machine. Is there a command line i can use to manually stop and unload the dll? I'm using win2k server.

Windows Software 5498 This topic was started by ,


data/avatar/default/avatar21.webp

251 Posts
Location -
Joined 2000-10-25
I'm running a Point Of Sale system that loads a DLL program into memory. In order to perform system updates the DLL has to be unloaded. The only way to achieve this is by rebooting the machine. Is there a command line i can use to manually stop and unload the dll?
I'm using win2k server.

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar10.webp

17 Posts
Location -
Joined 2001-07-21
This is not supposed to happen to 32bit windows applications.
 
A Win16 program that loaded a DLL with LoadLibrary and crashed or didn’t call FreeLibrary later would leave the DLL in memory even after the program exited. Matt Pietrek wrote a famous NukeDLL utility for dealing with this problem, and there are still several versions of it floating around. I am not sure if it will work in your case. Here is a link where you can get one of the versions:
 
http://www.openinformationsystems.com/provalov/freeware/nukedll.zip
 
Hope this helps.