Undeclared identifier: 'TConnLostCause'
Posted: Thu 12 Jul 2012 21:05
My database connects just fine.
However, We are working on a maintenance update routine for our application and in doing this we need to knock users off the server and I was hoping to use this event to trigger a nice message and also give a connection retry. But when I compile I get Undeclared identifier: 'TConnLostCause'. When I follow this back I can find it in the MEMDATA unit and even added the path to the source file in my search path and still get this error.
The TRetryMode I can ctrl-right click and it takes right to it but not TConnLostCause.
I also tried the OnError but er.InnerError does not exist either.
I'm using Delphi7 on a Win7 32bit and SQLServer 2008
Any help is much appreciated.
However, We are working on a maintenance update routine for our application and in doing this we need to knock users off the server and I was hoping to use this event to trigger a nice message and also give a connection retry. But when I compile I get Undeclared identifier: 'TConnLostCause'. When I follow this back I can find it in the MEMDATA unit and even added the path to the source file in my search path and still get this error.
The TRetryMode I can ctrl-right click and it takes right to it but not TConnLostCause.
I also tried the OnError but er.InnerError does not exist either.
I'm using Delphi7 on a Win7 32bit and SQLServer 2008
Any help is much appreciated.