When i double click MSConnection.OnConnectionLost event handler, automatically created code in procedures have undeclared identifier TConnLostCause.
How to solve this problem?
Undeclared identifier 'TConnLostCause'
Re: Undeclared identifier 'TConnLostCause'
To use the OnConnectionLost event handler, you should explicitly add the MemData unit to the 'uses' list and set the TCustomDAConnection.Options.LocalFailover property to True.
More details about OnConnectionLost here:
devart.com/sdac/docs/devart.dac.tcustomdaconnection.onconnectionlost.htm
More details about OnConnectionLost here:
devart.com/sdac/docs/devart.dac.tcustomdaconnection.onconnectionlost.htm