Page tree
Skip to end of metadata
Go to start of metadata

void _stdcall RdStatusChanged(StationPar * St)
St Pointer to StationPar.

RdStatusChanged (_RdStatusChanged@4 in Stdcall convention) is optional. It is called by D2000 KOM 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 still active). So, it is always necessary to determine whether the instance or D2000 Server was switched or not by GetRdStateAndInstance.

Write a comment…