RdStatusChanged (_RdStatusChanged@4 in Stdcall convention) is
optional. It is called by
when changing the active instance of
D2000 KOM and
when switching the redundancy.
The callback procedure GetRdStateAndInstance
is used to detect whether KOM process is connected to HOT Server and it is
an active instance.
Note: Function is called also when using tell command SET_ACT_INST,
but the active instance does not change (i.e. process was active and remains
So, it is always necessary to determine whether the instance or D2000
Server was switched or not by