Page 1 of 1

ConnectionLost

Posted: Tue 20 Sep 2011 22:28
by vallemanden
procedure TForm1.MySQLServer1ConnectionLost(Sender: TObject; Component: TComponent; ConnLostCause: TConnLostCause;
var RetryMode: TRetryMode);
begin
//
end;

get
[DCC Error] Unit1.pas(911): E2003 Undeclared identifier: 'TConnLostCause'

Posted: Wed 21 Sep 2011 12:19
by AndreyZ
Hello,

To solve the problem, you should add the MemData unit to the USES clause of your unit. You can find a note about that in the description of the OnConnectionLost event in the UniDAC documentation.

Posted: Wed 21 Sep 2011 12:31
by vallemanden
i have been looking for UniDAC documentation, but where to find it?

Posted: Wed 21 Sep 2011 12:45
by AndreyZ
You can access UniDAC documentation through Delphi Main menu->UniDAC->UniDAC help.