Hi mkalter,
We think that the connection is finished when Logon method try to connect again. I send you the code where Dll hangs.
Anyway, if the connection is still alive, how can we fix the problem?
Thanks in advance
LogEvent('Funcion OpenSession: apertura de conexion.');
with OracleSession do
try
if Connected then
begin
LogEvent('Antes del LogOff');
LogOff;
LogEvent('Despues del LogOff');
end;
LogonDatabase := GeneralIni.ReadString( 'DB', 'DBOraName', '' );
LogonUserName := Decodifica(GeneralIni.ReadString( 'DB', 'DBUser', '' ));
LogonPassword := Decodifica(GeneralIni.ReadString( 'DB', 'DBPassword', '' ));
LogEvent('Datos de conexion: ' + LogonDatabase + ' ' + LogonUserName + ' ' + LogonPassword);
LogOn;
LogEvent('Tras el LogOn');
except
on E: Exception do begin
LogEvent('Ha habido un error');
ConsultasEfectuadas := [];
LogEvent( 'No se pudo establecer comunicaci