When using the Advantage LOCAL
Server, ADSLOCAL.CFG is used to setup the configuration. According
to the Advantage documentation...
"The configuration file is used when the Advantage Local Server
DLL is loaded into memory"
So, if the same EXE (that loads ALS) is run multiple
times, I believe the ADSLOCAL.CFG is only read ONCE and the
settings are used for ALL instances of the EXE.
However, what is two DIFFERENT EXEs (in different folders) each
load their own ALS DLLs (in their own folder) - In this case the
ALS DLLs are loaded multiple times (for each of the separate
copies of the DLLs). In this case, how are the limits in the CFG
file used? Does EACH EXE get its own number of CONNECTIONS and
TABLES or are those limits imposed across the machine regardless
where the ALS DLLs are loaded from?
Here is an example...
C:\DIR-1\SOME.EXE
C:\DIR-1\ADSLOCAL.CFG with
CONNECTIONS=1
C:\DIR-1\ADSLOC32.DLL
C:\DIR-2\SOME.EXE
C:\DIR-2\ADSLOCAL.CFG with CONNECTIONS=1
C:\DIR-2\ADSLOC32.DLL
In this case, would ALS allow 1 or 2 connections on the MACHINE?
Note that this is impossible to test since the Advantage docs
state that these CFG limits will be automatically extended (when
possible) but it's still best to set them to their expected limits
to prevent possible failures.
Thanks!