en · de

NotesHound and concurrent Notes installations

by Thomas,
assono GmbH, Standort Kiel,


NotesHound (http://www.noteshound.com/) is an inexpensive collection of useful tools from Ken Haggman and Daniel Lehtihet. We have mentioned the NotesHound Class Navigator, which is sold seperately for some time by now, in some conference sessions and recommended it strongly for OOP developers in Lotusscript.

In SnTT: Installing and running Notes R5, 6, 7 and 8 concurrently we described in details, how you can install different versions of Lotus Notes on one machine in a way, you can even start them concurrently. This way you avoid the additional cost of memory consumption and (OS) licence cost for VMs.

But there is a problem with all NotesHound tools - beside the NotesHound Class Navigator - in such an environment: You can only start the tools in the lastly installed version of Notes.


After analysing the problem with Ken, we found the root cause and a possible solution. In the front-end, the NotesHound tools use the COM interface to communcate with the Notes client. When you install a Notes client, its version of a certain DLL file - nlsxbe.dll - is registered system-wide and is resposible for the Lotus Notes COM interface from this moment on. At a time, there can be only one version of the DLL file be registered - normally that one, which belongs to the lastly installed Notes version.

With regsvr32 nlsxbe.dll, executed in the Notes program directory, you can manually install a certain version of the DLL file. Afterwards you can use all the NotesHound tools in this version of Notes.

I assume, in the near future the NotesHound programs will do this in the background, but in the meanwhile you can use a fast wordaround. I have written the batch file RegisterDLLAndStartNLNotes.cmd:

@ECHO Off

REM Batch file should be started with one parameter - the Notes program directory

CD /D "%1%"
%SystemRoot%\system32\regsvr32.exe /s nlsxbe.dll
START /MIN nlnotes.exe

For the Notes8 Standard Client there
is a variant of this file called RegisterDLLAndStartNotes.cmd,
which starts notes.exe
instead.


I've changed the Notes program shortcuts
to execute the following target (e. g. for Notes 6):

D:\Notes\BatchFiles\RegisterDLLAndStartNLNotes.cmd
"C:\Program Files\Notes6"




By the way, it's only important, which
version of the DLL file was registered in the moment, the Notes client
was started. You can start e. g. Notes 8 and then Notes 6 and then use
the NotesHound tools in both clients.

Technical article IBM Notes IBM Notes Traveler Development

You have questions about this article? Contact us: blog@assono.de

Sie wollen eine individuelle Beratung oder einen Workshop? Read more

More interesting entries

Any questions? Contact us.

If you want to know more about our offers, you can contact us at any time. There are several ways to contact us for a non-binding first consultation.

assono GmbH

Location Kiel (headquarters)
assono GmbH
Lise-Meitner-Straße 1–7
24223 Schwentinental

Location Hamburg
assono GmbH
Bornkampsweg 58
22761 Hamburg

Phone numbers:
Human resources department: +49 4307 900 407
Marketing department: +49 4307 900 411

E-Mail adresses:
contact@assono.de
bewerbung@assono.de