- Open registry editor
- Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
- Now right on explorer key and create new key
- Named the key as "AlwaysUnloadDLL"
- In the value data field set value as 1
- Restart windows for the change to take effect
Wednesday, September 23, 2009
With a simple edit of registry you can configure to auto unload DLL files after exiting program, follow these steps.