IEC60870 104 Slave - Driver does not start on a Linux VM if the application is compiled with an old version of the Editor

IEC60870 104 Slave - Driver does not start on a Linux VM if the application is compiled with an old version of the Editor

Summary

-.

Description

-.

Information

T5Master870SlSt.h file must be modified:

class CT5Master870SlStProps : public CT5BDPropsEx

{

public:

CT5Master870SlStProps() {}

virtual ~CT5Master870SlStProps()A_OVERRIDE = default;

virtual T5_BOOL Build (T5_WORD wVersion, T5_PTBYTE pDef, T5_PTR pParams, int iLanguage)

{

T5_BOOL bOK = TRUE;

…

MUST BE REPLACED BY

class CT5Master870SlStProps : public CT5BDPropsEx

{

public:

CT5Master870SlStProps() { T5_MEMSET(&m_strTLS, 0, sizeof(T5STR_TLS));}

virtual~CT5Master870SlStProps() A_OVERRIDE { T5TLS_FreeTLS(&m_strTLS); };

virtual T5_BOOL Build(T5_WORD wVersion, T5_PTBYTE pDef, T5_PTR pParams, int iLanguage)

{

T5_BOOLbOK = TRUE;

…



Issue Number: 227699
Fixed on Date: 22.9.2020
Versions: 8.20 0 BUILD 68579