News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Do You want Windows to unload dll immediately?

Started by ben2ong2, September 30, 2006, 06:05:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ben2ong2

Folks, I read about this a long time ago and my preliminary findings are that it works on XP as well even though I can not say how beneficial this trick is (or how damaging !). Also there might be some potential problems with a a few apps. But I would still provide it to You There is a way in registry for You to tell Windows OS to unload DLL,immediately as soon as its use is over. Here is how to do that: . Open Registry by going to START-RUN and entering REGEDIT and Navigate to [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer] and look for AlwaysUnloadDLL parameter. It may not be present by default. If not, add a key by the name AlwaysUnloadDLL and set it to value of 1.This would inform OS to unload the DLL files from memory immediately. This has its advantages and disadvantages. It may also crash some Microsoft applications (like Access).
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login