Blog Best Viewed In Mozilla FireFox

Do You want Windows to unload dll immediately?
19 June 2007

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).


Computers Blogs - Blog Top Sites Computers Blogs - Blog FlareMy Blog DirectoryPage copy protected against web site content infringement by Copyscape

BookMark me:|| || Digg it || Furl || Google || Spurl || Yahoo MyWeb
posted by s я ϊ я α м . at 1:55 pm | Permalink