Archive: update a system DLL that is in use.


update a system DLL that is in use.
I know this has been discussed a lot, and I did go through the replies I could find but done of them seem to work.

I need to update a system DLL that is always locked. I heard there was a way to do this on win2k without rebooting, but even replace with a reboot would be great at this point.

At the core of each example I see on this, the 'file' command is used to copy the DLL. But 'file' does not seem to replace locked files.

How can I mark a DLL to be replaced on reboot? Similar to http://support.microsoft.com/default...;EN-US;q184408

PS. GetDLLVersion doesn't work on my custom made DLL. Does anyone know, by chance how the DLL should communicate it's version to this function?

thanks,
--Kervin


DllGetVersion spec.

PS. GetDLLVersion doesn't work on my custom made DLL. Does anyone know, by chance how the DLL should communicate it's version to this function?
See attached file for instructions on the DllGetVersion interface that a dll can implement if you so desire.

[edit: note this is not the only way of exporting version information, you can also include version information in an embedded resource in your dll... the DllGetVersion mechanism is the Microsoft standard way of supplying a version number for their system dlls though]

For some reason when I edited my post above the attachment vanished, any idea if this is a vBulletin bug?