Page 1 of 1

ConnectionLost

Posted: Tue 21 Feb 2012 09:25
by vallemanden
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

Posted: Tue 21 Feb 2012 09:46
by AlexP
Hello,

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

Posted: Tue 21 Feb 2012 10:42
by vallemanden
TY