ConnectionLost

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
vallemanden
Posts: 19
Joined: Sat 11 Jun 2011 07:44

ConnectionLost

Post by vallemanden » Tue 20 Sep 2011 22:28

procedure TForm1.MySQLServer1ConnectionLost(Sender: TObject; Component: TComponent; ConnLostCause: TConnLostCause;
var RetryMode: TRetryMode);
begin
//
end;

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

AndreyZ

Post by AndreyZ » Wed 21 Sep 2011 12:19

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.

vallemanden
Posts: 19
Joined: Sat 11 Jun 2011 07:44

Post by vallemanden » Wed 21 Sep 2011 12:31

i have been looking for UniDAC documentation, but where to find it?

AndreyZ

Post by AndreyZ » Wed 21 Sep 2011 12:45

You can access UniDAC documentation through Delphi Main menu->UniDAC->UniDAC help.

Post Reply