NSF_HOOK: How to replace the dll file, without downing the server?

Hey Everyone,

Given a Domino 8.0 server with an NSF Hook dll loaded at start up with the NSF_HOOK=xxx line in the notes.ini file, is there a way to replace the dll file without shutting down the server?

In other words, can we:

  1. Tell the server to unload (let go of) the dll.

  2. Replace the dll file.

  3. Tell the server to (re-)load the dll again.

Or any other technique that would let us upgrade the dll file without shutting down the server.

To make this even more fun, we’ll need to do this on the other Domino server OS platforms, too, but let’s just start with what we have.

Thanks for any help.

Sincerely,

Grant Lindsay

Subject: Update: Partial Solution

I “unassumed” that the DLL file would be locked and tried this:

  1. Rename the dll (MyHook.dll → __MyHook.dll). This worked.

  2. Copy the new dll (MyHook.dll) into the folder. This worked.

  3. Delete the copy (__MyHook.dll). This did not work.

The above on Windows Server 2003.

My concern is that some tasks or processes have the original dll loaded in memory (until they drop it) while others have the new one.

Does anyone have a better way to accomplish this?

– Grant