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 21 Feb 2012 09:25

wanted to use ConnectionLost prob. but i get this error, what did i do worng or what did i not add ?

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

useing XE2 udate3, unidac 4.1.4, MySQL server on windows 7 Pro
regards
Brian

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Tue 21 Feb 2012 09:46

Hello,

You should explicitly add the MemData unit to the 'uses' list to use the OnConnectionLost event handler.

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

Post by vallemanden » Tue 21 Feb 2012 10:42

TY

Post Reply