Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs

Recent posts

Tue 15 Sep 2020

Exciton Boost - Formula(s) for success

Tue 15 Sep 2020

Pushing harder at the limits of formulas

Mon 14 Sep 2020

Exciton Boost - Secret Agents protecting your data

September, 2020
  01 02 03 04 05
06 07 08 09 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30

Search the weblog

Genii Weblog

Testing Midas 3.x and Midas 4.x side by side

Thu 4 Oct 2007, 04:30 PM

by Ben Langhinrichs
I hope that this will not be a common issue, but there are some developers who will need to work with Midas 3.x and Midas 4.x side by side, or at least sort of side by side.  In other words, if you need to try Midas 4.00 with a script, and then want to go back to try Midas 3.70, for example, to see the differences, you could use this technique.  You could always just copy the nlsxrtc.dll and licmidas.lic for the appropriate version over and over again, but I find that very confusing and easy to mess up.  Instead, this minor tweak allows you to keep both versions in your executable directory at the same time.

The first part of the trick is, the licmidas.lic file for Version 3.x could also be called licmidas.3, while the licmidas.lic file for Version 4.x can also be called licmidas.4.  Therefore, just rename your old 3.x license file to licmidas.3 and copy in your new license file as licmidas.4 and you have both licenses on your system.

The second part of the trick is that the nlsxrtc.dll file doesn't need to be called that, so simply change the nlsxrtc.dll for Version 3.x to nlsxrtc3.dll and leave the nlsxrtc.dll for Version 4 as nlsxrtc.dll.

Of course, you can't load both LSXs at once, so you have to close Notes and restart it, but you can just run.  The Midas 4.x agent(s) should have

Option Public
Option Declare 
Uselsx "*lsxrtc3"       

and the Midas 3.x agents should have

Option Public
Option Declare 
Uselsx "*lsxrtc3"       

Copyright 2007 Genii Software Ltd.

What has been said:

No documents found