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

Description
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.

Napíšte komentár