December 6th, 2004

My Widdle Bwain

Who Is The Crack Smoking Weasel?

A question came up regarding unloading DLLs from memory. My understanding is that on a Windows system, the way you unload an old version of a DLL and load a new one is to unregister the old DLL (to prevent it from loading again), then reboot the computer (to remove the code that's already in memory from memory.)

1) Is my understanding correct, or is there a way to unload an already loaded DLL from memory without having to reboot the computer.

2) Does the answer to 1 change if this is being done on a Windows 2000 system running DCOM? (Note: Not COM+)


Many thanks to anyone who can shed light on this.